Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

color highlighting lost after deleting a buffer #130

Open
ghost opened this issue Nov 2, 2014 · 4 comments
Open

color highlighting lost after deleting a buffer #130

ghost opened this issue Nov 2, 2014 · 4 comments

Comments

@ghost
Copy link

ghost commented Nov 2, 2014

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.

@sricks
Copy link

sricks commented Jan 8, 2015

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
Copy link

sricks commented Jan 8, 2015

@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.

@ghost
Copy link
Author

ghost commented Jan 9, 2015

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

@dajuno
Copy link

dajuno commented Jul 21, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants