nixvimConfigs/fiesta: update Neorg Nix settings

This commit is contained in:
Gabriel Arazas 2024-12-31 16:34:53 +08:00
parent 4b34669e39
commit 8e5e8d3b25
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360
2 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@
plugins.neorg.enable = true;
# Set it up, set it up, set it up.
plugins.neorg.extraOptions = {
plugins.neorg.settings = {
lazy_loading = true;
load = lib.mkMerge [
@ -57,7 +57,7 @@
]
# Install the tree-sitter parsers required for the core.defaults Neorg
# module.
++ lib.optionals (config.plugins.neorg.extraOptions ? load."core.defaults")
++ lib.optionals (config.plugins.neorg.settings ? load."core.defaults")
(with pkgs.tree-sitter-grammars; [
tree-sitter-norg
tree-sitter-norg-meta

View File

@ -13,7 +13,7 @@ in
plugins.neorg.enable = true;
# Set it up, set it up.
plugins.neorg.extraOptions = {
plugins.neorg.settings = {
lazy_loading = true;
# The basic bare essentials.
@ -26,7 +26,7 @@ in
# Install the tree-sitter parsers.
plugins.treesitter.grammarPackages =
lib.mkIf
(config.plugins.neorg.extraOptions ? load."core.defaults")
(config.plugins.neorg.settings ? load."core.defaults")
(with pkgs.tree-sitter-grammars; [
tree-sitter-norg
tree-sitter-norg-meta