Compare commits

...

3 commits

Author SHA1 Message Date
Soliprem
ec26adc7dc neorg: adding descriptions 2024-10-15 12:38:37 +02:00
Soliprem
67a2632958 neorg: fixing capitalisation 2024-10-15 12:23:19 +02:00
Soliprem
a2560d9bf3 neorg: added vim.treesitter.enable 2024-10-15 10:21:51 +02:00
2 changed files with 11 additions and 1 deletions

View file

@ -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];
}) })
]); ]);

View file

@ -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"];
}; };
}; };
}; };