-
Notifications
You must be signed in to change notification settings - Fork 62
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
Cursorline highlighting destroys syntax highlighting in Windows command prompt #117
Comments
This is likely specific to the terminal emulator you're using (I'm guessing the new W10 terminal since you mentioned W10? or is that just your OS?) since it doesn't happen in other terminals I have access to. It is probably because of how your terminal handles escape sequences, or because of the escape sequences Vim is sending to your terminal. Gruvbox sets You may find that putting If you want more than a workaround and want to find out why underline isn't working, I will redirect you to either Vim or your terminal emulator's issue tracker for now, whichever seems most appropriate to you. If you're going to pursue the issue elsewhere, in your minimal config, try replacing Even if it's not underline, gruvbox does not define any new syntax groups or anything specific to the terminal or windows that should cause this. I really have nothing to suspect from gruvbox itself, so I'm going to close this for now. If you investigate this some more and it does still appear to be gruvbox please reopen. Good luck finding this issue. |
Thanks for your answer. Just for the record, I was talking about the classic command prompt terminal There is probably something else going on in gruvbox that causes these issues, but I'm too lazy to dig deeper given that I'm not that familiar with vim internals and terminal emulation. I use gvim 99% of the time so I can live with that shortcoming. |
For posterity's sake, adding |
For posterity's sake, Line 544 in 0a09827
"Solving" as in it does not destroy the syntax highlighting but clears the As a little bonus to demonstrate the windows Probably an escape sequence digestion issue as you suggested. But as I said, not worth the trouble. |
On Windows 10 1903 using vim with
cursorline
from the command prompt makes the highlighted line lose its syntax highlighting. Here is a comparison between{,g}vim -u minimal.vim minimal.vim
. Note the lack of syntax highlighting on the left.Any chance this can be fixed?
The text was updated successfully, but these errors were encountered: