2025-04-12 15:06:16 +02:00

41 lines
1.3 KiB
Lua

return {
"nvim-neorg/neorg",
lazy = true, -- Enable lazy loading
version = "*", -- Pin Neorg to the latest stable release
cmd = "Neorg", -- Load when the Neorg command is used
ft = "norg", -- Load when a .norg file is opened
build = ":Neorg sync-parsers",
config = function()
require("neorg").setup({
load = {
["core.defaults"] = {},
["core.dirman"] = {
config = {
workspaces = {
default = "~/Documents/notes",
},
default_workspace = "default",
index = "index.norg",
}
},
["core.journal"] = {
config = {
workspace = "default"
},
},
["core.concealer"] = {
config = {
icon_preset = "varied",
},
},
-- ["core.export"] = {
-- config = {}
-- },
-- ["core.export.markdown"] = {
-- config = {}
-- }
}
})
end,
}