diff options
Diffstat (limited to 'nvim/lua/user/neorg.lua')
-rw-r--r-- | nvim/lua/user/neorg.lua | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/nvim/lua/user/neorg.lua b/nvim/lua/user/neorg.lua new file mode 100644 index 0000000..30c016e --- /dev/null +++ b/nvim/lua/user/neorg.lua @@ -0,0 +1,33 @@ +local M = { + "nvim-neorg/neorg", + commit = "6aa9fd303c807ed1ca3fb15cdeab1e322d02fd31", -- we give it a commit hash ourself + ft = "norg", + cmd = "Neorg", + build = ":Neorg sync-parsers", + opts = { + load = { + ["core.defaults"] = {}, -- Loads default behaviour + ["core.export"] = {}, + ["core.concealer"] = {}, -- Adds pretty icons to your documents + ["core.dirman"] = { -- Manages Neorg workspaces + config = { + workspaces = { + notes = "~/notes", + }, + }, + }, + }, + }, + dependencies = { { "nvim-lua/plenary.nvim" } }, +} + +function M.config() + require('neorg').setup { + load = { + ["core.defaults"] = {} + } + } +end + +return M + |