From a2560d9bf32d440a6f6a1c81af454bc0b09370e7 Mon Sep 17 00:00:00 2001 From: Soliprem Date: Tue, 15 Oct 2024 10:21:14 +0200 Subject: [PATCH 1/3] neorg: added vim.treesitter.enable --- modules/plugins/notes/neorg/config.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/plugins/notes/neorg/config.nix b/modules/plugins/notes/neorg/config.nix index 54a6bd8c..fab5079d 100644 --- a/modules/plugins/notes/neorg/config.nix +++ b/modules/plugins/notes/neorg/config.nix @@ -34,6 +34,7 @@ in { } (mkIf cfg.treesitter.enable { + vim.treesitter.enable = true; vim.treesitter.grammars = [cfg.treesitter.norgPackage]; }) ]); From 67a2632958886bab8403b273573bcfad992674d6 Mon Sep 17 00:00:00 2001 From: Soliprem Date: Tue, 15 Oct 2024 12:23:19 +0200 Subject: [PATCH 2/3] neorg: fixing capitalisation --- modules/plugins/notes/neorg/neorg.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/plugins/notes/neorg/neorg.nix b/modules/plugins/notes/neorg/neorg.nix index eae7a3c1..24f9595b 100644 --- a/modules/plugins/notes/neorg/neorg.nix +++ b/modules/plugins/notes/neorg/neorg.nix @@ -20,7 +20,7 @@ in { type = submodule { options = { - enable = mkEnableOption "Wrapper to interface with several different completion engines."; + enable = mkEnableOption "wrapper to interface with several different completion engines."; config = { disable = mkOption { type = listOf str; From ec26adc7dc774e39e753570a5e1bbe6553258b16 Mon Sep 17 00:00:00 2001 From: Soliprem Date: Tue, 15 Oct 2024 12:38:37 +0200 Subject: [PATCH 3/3] neorg: adding descriptions --- modules/plugins/notes/neorg/neorg.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/modules/plugins/notes/neorg/neorg.nix b/modules/plugins/notes/neorg/neorg.nix index 24f9595b..ed1b0435 100644 --- a/modules/plugins/notes/neorg/neorg.nix +++ b/modules/plugins/notes/neorg/neorg.nix @@ -17,14 +17,23 @@ in { load = { "core.defaults" = mkOption { default = {}; + description = '' + all of the most important modules that any user would want to have a "just works" experience + ''; type = submodule { 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 = { disable = mkOption { + description = '' + list of modules from to be disabled from core.defaults + ''; type = listOf str; default = []; + example = ["core.autocommands" "core.itero"]; }; }; };