mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-11-10 07:25:30 +00:00
Switched to using lib.nvim.config.mkBool where appropriate
This commit is contained in:
parent
a8cd1af2a1
commit
ca9ab42048
3 changed files with 16 additions and 47 deletions
|
|
@ -1,6 +1,5 @@
|
|||
# TODO: I need testing.
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
|
|
@ -13,16 +12,6 @@
|
|||
|
||||
inherit (lib.options) mkOption mkEnableOption;
|
||||
inherit (lib.types) bool package str;
|
||||
|
||||
cfg = config.vim.languages.tex;
|
||||
|
||||
# --- Enable Options ---
|
||||
mkEnableDefaultOption = default: description: (mkOption {
|
||||
type = bool;
|
||||
default = default;
|
||||
example = !default;
|
||||
description = description;
|
||||
});
|
||||
in (
|
||||
template {
|
||||
inherit name moduleInheritencePackage;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue