nvim: add config files
This commit is contained in:
55
nvim/lua/plugins/neorg.lua
Normal file
55
nvim/lua/plugins/neorg.lua
Normal file
@@ -0,0 +1,55 @@
|
||||
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,
|
||||
}
|
||||
Reference in New Issue
Block a user