add(nvim): ufo for folding

This commit is contained in:
Léana 江 2023-10-21 00:04:07 +02:00 committed by Léana 江
parent 69b2611486
commit 1a12e2948b
4 changed files with 18 additions and 1 deletions

View file

@ -36,6 +36,11 @@ opt.scrolloff = 3
opt.colorcolumn = "80"
opt.foldcolumn = "1"
opt.foldlevel = 99
opt.foldlevelstart = 99
opt.foldenable = true
api.nvim_create_autocmd("TextYankPost", {
pattern = "*",
callback = function() vim.highlight.on_yank() end,