I use foldmethod=indent
but I hate how it starts each file pre-folded. To get around this I put au BufWinEnter * normal zi
in my vimrc. That had worked fine so far, but now that I started using CoC, My error messages are getting auto-folded, which is obviously not what I want. I tried adding MenuPopup
to the autocommand but no luck. How can I get this... window? (Idk what it is as far as Vim is concerned) to no automatically fold its text?
-
If the problem is that the files open pre-folded you can try this: How to save a view (with folds) into the file? – edugomez102 Jan 17 '20 at 15:02
Put set nofoldenable
in your vimrc. This will also accomplish what your autocommand does.