1
Fork 0
satellite/dotfiles/neovim/lua/my/options/folding.lua

16 lines
336 B
Lua
Raw Normal View History

local M = {}
function M.setup()
vim.o.foldmethod = "marker"
-- vim.cmd([[
-- augroup remember_folds
-- autocmd!
-- autocmd BufWinLeave *.* if &ft !=# 'help' | mkview | endif
-- autocmd BufWinEnter *.* if &ft !=# 'help' | silent! loadview | endif
-- augroup END
-- ]])
end
return M