minibufexpl.vim icon indicating copy to clipboard operation
minibufexpl.vim copied to clipboard

color highlighting lost after deleting a buffer

Open ghost opened this issue 11 years ago • 4 comments

Hi, I use vim 7.4, Ubuntu system. When I delete a buffer using :bd, the file the see lost all the syntax highlighting. I can resume the highlighting by changing to another buffer. I tried to add g:miniBufExplForceSyntaxEnable = 1 to my .vimrc, but it does not help. did I forget any other setting? Thank you very much.

ghost avatar Nov 02 '14 03:11 ghost

Also happens for me in 7.3 on Crunchbang (Debian based distro) Also happened on Windows in Gvim 7.3

Tried same vimrc option and it gave an error - tried let miniBufExplForceSyntaxEnable = 1 and it didn't work either

sricks avatar Jan 08 '15 22:01 sricks

@wakuang Can you try this in .vimrc? let g:miniBufExplForceSyntaxEnable = 1

I wasn't sure on the syntax but that should work - your comment doesn't have let at the beginning.

Worked on my Crunchbang system.

sricks avatar Jan 08 '15 22:01 sricks

Thank you for your comment, but it did not help.

ghost avatar Jan 09 '15 01:01 ghost

same here, let g:miniBufExplForceSyntaxEnable = 1 does not help for current versions of vim and minibufexpl.

dajuno avatar Jul 21 '15 15:07 dajuno