neorg: changed description and removed reduntant treesitter activation

This commit is contained in:
Soliprem 2024-10-15 02:15:18 +02:00
parent 90795a506a
commit 4508e39225
2 changed files with 4 additions and 4 deletions

View file

@ -34,8 +34,6 @@ 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

@ -9,7 +9,9 @@
inherit (lib.nvim.types) mkGrammarOption mkPluginSetupOption; inherit (lib.nvim.types) mkGrammarOption mkPluginSetupOption;
in { in {
options.vim.notes.neorg = { 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" { setupOpts = mkPluginSetupOption "Neorg" {
load = { load = {
@ -18,7 +20,7 @@ in {
type = submodule { type = submodule {
options = { options = {
enable = mkEnableOption "A wrapper to interface with several different completion engines."; enable = mkEnableOption "Wrapper to interface with several different completion engines.";
config = { config = {
disable = mkOption { disable = mkOption {
type = listOf str; type = listOf str;