diff --git a/modules/plugins/notes/neorg/config.nix b/modules/plugins/notes/neorg/config.nix index 367f2567..54a6bd8c 100644 --- a/modules/plugins/notes/neorg/config.nix +++ b/modules/plugins/notes/neorg/config.nix @@ -34,8 +34,6 @@ in { } (mkIf cfg.treesitter.enable { - vim.treesitter.enable = true; - vim.treesitter.grammars = [cfg.treesitter.norgPackage]; }) ]); diff --git a/modules/plugins/notes/neorg/neorg.nix b/modules/plugins/notes/neorg/neorg.nix index f6ab8aec..eae7a3c1 100644 --- a/modules/plugins/notes/neorg/neorg.nix +++ b/modules/plugins/notes/neorg/neorg.nix @@ -9,7 +9,9 @@ inherit (lib.nvim.types) mkGrammarOption mkPluginSetupOption; in { options.vim.notes.neorg = { - enable = mkEnableOption "neorg: Neovim plugin for Neorg"; + enable = mkEnableOption '' + Neorg: An intuitive note-taking and organization tool with a structured nested syntax. + ''; setupOpts = mkPluginSetupOption "Neorg" { load = { @@ -18,7 +20,7 @@ in { type = submodule { options = { - enable = mkEnableOption "A wrapper to interface with several different completion engines."; + enable = mkEnableOption "Wrapper to interface with several different completion engines."; config = { disable = mkOption { type = listOf str;