From 4508e3922571b5059786e29d9a76d056b4ef7bc1 Mon Sep 17 00:00:00 2001 From: Soliprem Date: Tue, 15 Oct 2024 02:15:18 +0200 Subject: [PATCH] neorg: changed description and removed reduntant treesitter activation --- modules/plugins/notes/neorg/config.nix | 2 -- modules/plugins/notes/neorg/neorg.nix | 6 ++++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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;