34 lines
735 B
Lua
34 lines
735 B
Lua
return {
|
|
"nvim-neorg/neorg",
|
|
lazy = false,
|
|
version = "*",
|
|
dependencies = { { "nvim-lua/plenary.nvim" }, { "nvim-neorg/neorg-telescope" } },
|
|
config = function()
|
|
require("neorg").setup({
|
|
load = {
|
|
["core.defaults"] = {},
|
|
["core.concealer"] = {},
|
|
["core.dirman"] = {
|
|
config = {
|
|
workspaces = {
|
|
notes = "~/Notes",
|
|
},
|
|
default_workspace = "notes",
|
|
},
|
|
},
|
|
["core.integrations.telescope"] = {
|
|
config = {
|
|
insert_file_link = {
|
|
-- Whether to show the title preview in telescope. Affects performance with a large
|
|
-- number of files.
|
|
show_title_preview = true,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
})
|
|
vim.wo.foldlevel = 99
|
|
vim.wo.conceallevel = 2
|
|
end,
|
|
}
|