30 lines
768 B
Lua
30 lines
768 B
Lua
return {
|
|
"nvim-neorg/neorg",
|
|
dependencies = { "nvim-lua/plenary.nvim" },
|
|
build = ":Neorg sync-parsers",
|
|
-- tag = "*",
|
|
lazy = true, -- enable lazy load
|
|
ft = "norg", -- lazy load on file type
|
|
cmd = "Neorg", -- lazy load on command
|
|
config = function()
|
|
require("neorg").setup {
|
|
load = {
|
|
["core.defaults"] = {}, -- Loads default behaviour
|
|
["core.concealer"] = {}, -- Adds pretty icons to your documents
|
|
["core.dirman"] = { -- Manages Neorg workspaces
|
|
config = {
|
|
workspaces = {
|
|
notes = "~/documents/notes",
|
|
},
|
|
},
|
|
},
|
|
["core.completion"] = {
|
|
config = {
|
|
engine = "nvim-cmp",
|
|
}
|
|
}
|
|
},
|
|
}
|
|
end,
|
|
}
|