Files
dotfiles/nvim/lua/plugins/neorg.lua

56 lines
1.1 KiB
Lua
Raw Normal View History

2026-01-17 21:17:29 +00:00
return {
"nvim-neorg/neorg",
lazy = false, -- Disable lazy loading as some `lazy.nvim` distributions set `lazy = true` by default
version = "*", -- Pin Neorg to the latest stable release
config = function()
local neorg = require("neorg")
neorg.setup {
load = {
["core.defaults"] = {},
["core.esupports.indent"] = {
config = {
tweaks = {
heading2 = 1,
heading3 = 2,
heading4 = 3,
heading5 = 4,
heading6 = 5,
unordered_list2 = 1,
unordered_list3 = 2,
unordered_list4 = 3,
unordered_list5 = 4,
unordered_list6 = 5,
ordered_list2 = 1,
ordered_list3 = 2,
ordered_list4 = 3,
ordered_list5 = 4,
ordered_list6 = 5,
paragraph_segment = 1,
}
}
},
["core.concealer"] = {
config = {
icons = {
code_block = {
conceal = true,
padding = {
left = 2,
right = 2,
},
width = 80,
},
},
},
},
}
}
--vim.keymap.set('n', 'N', function() vim.cmd(':e ~/notes/index.norg') end, {})
end,
}