Setup neorg plugin
This commit is contained in:
parent
f42c1c8fdf
commit
e9e7399c04
4 changed files with 57 additions and 1 deletions
|
@ -27,6 +27,10 @@
|
|||
{ # VimTex
|
||||
name = "vimtex";
|
||||
}
|
||||
|
||||
{ # Neorg
|
||||
name = "neorg";
|
||||
}
|
||||
];
|
||||
|
||||
# Key mappings for the completion menu.
|
||||
|
|
48
config/plugins/notes/neorg.nix
Normal file
48
config/plugins/notes/neorg.nix
Normal file
|
@ -0,0 +1,48 @@
|
|||
{...}:{
|
||||
plugins.neorg = {
|
||||
enable = true;
|
||||
|
||||
# Settings for the Neorg plugin
|
||||
settings = {
|
||||
load = {
|
||||
# Load the core modules for Neorg
|
||||
"core.defaults" = {
|
||||
__empty = null;
|
||||
};
|
||||
|
||||
# Display markup as icons, not text
|
||||
"core.concealer" = {
|
||||
__empty = null;
|
||||
};
|
||||
|
||||
# Handle collections of notes
|
||||
"core.dirman" = {
|
||||
config = {
|
||||
workspaces = {
|
||||
notes = "~/Notes";
|
||||
};
|
||||
default_workspace = "notes";
|
||||
};
|
||||
};
|
||||
|
||||
# Treesitter integration
|
||||
"core.integrations.treesitter" = {
|
||||
config = {
|
||||
install_parsers = true;
|
||||
configure_parsers = true;
|
||||
};
|
||||
};
|
||||
|
||||
# Enable completions with nvim-cmp
|
||||
"core.completion" = {
|
||||
config = {
|
||||
engine = "nvim-cmp";
|
||||
};
|
||||
};
|
||||
"core.integrations.nvim-cmp" = {
|
||||
__empty = null;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue