-
I am using https://github.com/kevinhwang91/nvim-ufo, and it requires setting some vim options to work. opt.foldlevel = 99
opt.foldlevelstart = 99
opt.foldenable = true
opt.foldcolumn = "0" Currently I set these in {
"kevinhwang91/nvim-ufo",
dependencies = "kevinhwang91/promise-async",
event = "BufReadPost",
config = function(_, opts)
local opt = vim.opt
opt.foldlevel = 99
opt.foldlevelstart = 99
opt.foldenable = true
opt.foldcolumn = "0"
require("ufo").setup(opts)
end,
---@class UfoConfig
opts = {
-- snip
},
keys = {
-- snip
} |
Beta Was this translation helpful? Give feedback.
Answered by
yutkat
Apr 12, 2023
Replies: 1 comment
-
I think you should use Line 142 in 57cce98 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Jomik
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think you should use
init
.lazy.nvim/doc/lazy.nvim.txt
Line 142 in 57cce98