notes/orgmode: fixed reference to the grammar package from nixpkgs

This commit is contained in:
Michael Buckley 2025-11-11 23:26:19 -05:00
commit 9d5f2f4903
No known key found for this signature in database
GPG key ID: 5EE007B4E468FB39

View file

@ -5,9 +5,9 @@
...
}: let
inherit (lib.modules) mkRenamedOptionModule;
inherit (lib.options) mkEnableOption mkOption;
inherit (lib.options) mkEnableOption mkOption mkPackageOption;
inherit (lib.types) str listOf;
inherit (lib.nvim.types) mkGrammarOption mkPluginSetupOption;
inherit (lib.nvim.types) mkPluginSetupOption;
in {
imports = [
(mkRenamedOptionModule ["vim" "notes" "orgmode" "orgAgendaFiles"] ["vim" "notes" "orgmode" "setupOpts" "org_agenda_files"])
@ -33,7 +33,9 @@ in {
treesitter = {
enable = mkEnableOption "Orgmode treesitter" // {default = config.vim.languages.enableTreesitter;};
orgPackage = mkGrammarOption pkgs "org";
orgPackage = mkPackageOption pkgs ["org-nvim treesitter"] {
default = ["tree-sitter-grammars" "tree-sitter-org-nvim"];
};
};
};
}