diff --git a/lua/holger/plugins/neorg.lua b/lua/holger/plugins/neorg.lua new file mode 100644 index 0000000..c20d3b6 --- /dev/null +++ b/lua/holger/plugins/neorg.lua @@ -0,0 +1,22 @@ +return { + "nvim-neorg/neorg", + lazy = false, -- load immediately + version = "*", -- latest stable release + dependencies = { "nvim-lua/plenary.nvim" }, -- Neorg requires plenary + config = function() + require("neorg").setup({ + load = { + ["core.defaults"] = {}, -- default modules + ["core.concealer"] = {}, -- enable the concealer + ["core.dirman"] = { -- workspace management + config = { + workspaces = { + notes = "~/notes", + }, + default_workspace = "notes", + }, + }, + }, + }) + end, +}