mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-02-24 12:28:32 +00:00
Compare commits
4 commits
c35e5ee267
...
117f7fa442
Author | SHA1 | Date | |
---|---|---|---|
![]() |
117f7fa442 | ||
![]() |
ec26adc7dc | ||
![]() |
67a2632958 | ||
![]() |
a2560d9bf3 |
2 changed files with 11 additions and 1 deletions
|
@ -34,6 +34,7 @@ in {
|
||||||
}
|
}
|
||||||
|
|
||||||
(mkIf cfg.treesitter.enable {
|
(mkIf cfg.treesitter.enable {
|
||||||
|
vim.treesitter.enable = true;
|
||||||
vim.treesitter.grammars = [cfg.treesitter.norgPackage];
|
vim.treesitter.grammars = [cfg.treesitter.norgPackage];
|
||||||
})
|
})
|
||||||
]);
|
]);
|
||||||
|
|
|
@ -17,14 +17,23 @@ in {
|
||||||
load = {
|
load = {
|
||||||
"core.defaults" = mkOption {
|
"core.defaults" = mkOption {
|
||||||
default = {};
|
default = {};
|
||||||
|
description = ''
|
||||||
|
all of the most important modules that any user would want to have a "just works" experience
|
||||||
|
'';
|
||||||
|
|
||||||
type = submodule {
|
type = submodule {
|
||||||
options = {
|
options = {
|
||||||
enable = mkEnableOption "Wrapper to interface with several different completion engines.";
|
enable = mkEnableOption ''
|
||||||
|
all of the most important modules that any user would want to have a "just works" experience
|
||||||
|
'';
|
||||||
config = {
|
config = {
|
||||||
disable = mkOption {
|
disable = mkOption {
|
||||||
|
description = ''
|
||||||
|
list of modules from to be disabled from core.defaults
|
||||||
|
'';
|
||||||
type = listOf str;
|
type = listOf str;
|
||||||
default = [];
|
default = [];
|
||||||
|
example = ["core.autocommands" "core.itero"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue