Tweak neovim config

- Add noice, navic
- Tweak theme configuration
- Tweak cder configuration
- Update .ignore file
This commit is contained in:
Marko Korhonen 2023-11-17 08:01:52 +02:00
parent aa1af14bfd
commit 8336ec5048
15 changed files with 211 additions and 63 deletions

View file

@ -1,7 +1,20 @@
return function()
require("ufo").setup({
local keymap = vim.keymap
local o = vim.o
local ufo = require("ufo")
ufo.setup({
close_fold_kinds = {
"imports",
},
})
-- Using ufo, need to remap `zR` and `zM`. If Neovim is 0.6.1, remap yourself
keymap.set("n", "zR", ufo.openAllFolds)
keymap.set("n", "zM", ufo.closeAllFolds)
-- Fold settings
o.foldcolumn = "1"
o.foldlevel = 99
o.foldlevelstart = 99
o.foldenable = true
end