diff --git a/home/editors/neovim/default.nix b/home/editors/neovim/default.nix index f2eb089..1a8dc2b 100644 --- a/home/editors/neovim/default.nix +++ b/home/editors/neovim/default.nix @@ -58,6 +58,7 @@ in { nvim-dap-ui nvim-dap-virtual-text + neorg orgmode ]; extraConfig = with builtins; @@ -77,6 +78,7 @@ in { ./dap/dap.lua ./dap/mappings.lua ./treesitter.lua + ./neorg.lua ./orgmode.lua ]); withNodeJs = false; diff --git a/home/editors/neovim/neorg.lua b/home/editors/neovim/neorg.lua new file mode 100644 index 0000000..7babe98 --- /dev/null +++ b/home/editors/neovim/neorg.lua @@ -0,0 +1,19 @@ +require("neorg").setup { + load = { + ["core.defaults"] = {}, + ["core.norg.dirman"] = { + config = { + workspaces = { + work = "~/notes/work", + home = "~/notes/home", + }, + }, + }, + ["core.norg.concealer"] = {}, + ["core.norg.completion"] = { + config = { + engine = "nvim-cmp", + }, + }, + }, +}