users/foo-dogsquared/programs/nixvim: update note-taking setup

This commit is contained in:
Gabriel Arazas 2024-02-23 07:13:57 +08:00
parent 6b5dd4fe20
commit a2f7dbb86e
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, helpers, ... }:
{ {
# The main star of the show. # The main star of the show.
@ -8,30 +8,35 @@
plugins.neorg.extraOptions = { plugins.neorg.extraOptions = {
lazy_loading = true; lazy_loading = true;
load = { load = lib.mkMerge [
# Pretty much required with tree-sitter integration and all. {
"core.defaults" = { __empty = null; }; # Pretty much required with tree-sitter integration and all.
"core.defaults" = helpers.emptyTable;
# Conceal your blade (which is the markup, in which it is pretty sharp to # Conceal your blade (which is the markup, in which it is pretty sharp to
# look at). # look at).
"core.concealer" = { __empty = null; }; "core.concealer" = helpers.emptyTable;
# Dear diary... # Dear diary...
"core.journal" = { "core.journal".config = {
strategy = "flat"; strategy = "flat";
toc_format = [ "yy" "mm" "dd" "link" "title" ];
};
# Norg ripping a page from org-mode.
"core.ui.calendar" = { __empty = null; };
# Manage your note workspaces.
"core.dirman" = {
config.workspaces = {
personal = "~/library/notes";
}; };
};
}; # Norg ripping a page from org-mode.
"core.ui.calendar" = helpers.emptyTable;
# Manage your note workspaces.
"core.dirman".config = {
workspaces = {
personal = "~/library/notes";
};
};
}
(lib.mkIf config.plugins.nvim-cmp.enable {
"core.completion".config.engine = "nvim-cmp";
})
];
}; };
# Install the common text markup tree-sitter grammars. # Install the common text markup tree-sitter grammars.
@ -47,7 +52,6 @@
pod pod
rst rst
tsx tsx
typst
] ]
# Install the tree-sitter parsers required for the core.defaults Neorg # Install the tree-sitter parsers required for the core.defaults Neorg
# module. # module.