diff options
| author | jdhao <jdhao@hotmail.com> | 2021-12-14 21:48:58 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-12-14 21:48:58 +0800 |
| commit | 5215a601b9221f8b2276a9bbc7cc7f0e5f78d556 (patch) | |
| tree | f8aa044b8f898621726f3a381a80c418815db26e /README.md | |
| parent | 9bac7fa4f70497106f47db463c9d5e1ab4722404 (diff) | |
update fold conf for vim script
When setting foldlevel to 0 and load some plugin via InsertEnter event
using packer.nvim, if we press i to go to insert mode, the fold for vim
script file will be automatically closed. It is really annoying.
I have pinpoint the issue to the combination of packer.nvim and setting
foldlevel to 0 in after/ftplugin/vim.vim. What is interesting is that
default value for foldlevel is also 0. However, if we do not set it in
vim.vim, the above issue won't occur, which is strange.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions
