-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
When enabling cursorline, it only underlines text rather than the whole line on screen #25609
Comments
Latest stable release is 0.9.4, not 0.9.2. Also try the prerelease https://github.com/neovim/neovim/releases/tag/nightly .
Does it happen if with cmd.exe or Windows terminal ? |
I updated to 0.9.4 and tried the prerelease and the problem persists. Running nvim in cmd or Windows Terminal fixes it though. |
I tried installing my setup on a different Windows 11 computer and the problem is fixed on there. The problem only happens on my Windows 10 computer. |
Then this is likely a terminal issue and not going to to spend time adding a workaround. |
nvim was logged to send wrong escape sequences in the documented scenario: |
@rex-ludorum Do you have |
infocmp does not depend on the terminal, it only considers $TERM |
Yes, but I don't get With syntax:
Without syntax:
|
I do have it installed.
|
Hmm, that's also the same as the terminfo of XTerm on Linux, so it's really strange that these sequences are quite different from what I get in XTerm. |
Problem
In my .vimrc, I have
to enable underlining. In Vim, this underlines the whole line in the screen as expected, even without whitespace trailing the text:
However, in Neovim (my nvim setup sources my .vimrc), this only underlines the portion of the line with text along with leading whitespace:
Rarely, it doesn't underline leading indentations or manages to underline the rest of the line. I have no clue what the criteria for these cases are:
Moreover, this is only a problem on Windows, where I have nvim installed on msys through pacman. On Ubuntu with the same config, the whole line is always underlined:
I'd like to have neovim on Windows behave consistently with Ubuntu and underline the whole line.
Steps to reproduce
See above
Expected behavior
The whole line should be underlined, not only the portion with text.
Neovim version (nvim -v)
0.9.2
Vim (not Nvim) behaves the same?
no, 9.0.1976
Operating system/version
Windows 10
Terminal name/version
mintty 3.6.5
$TERM environment variable
xterm-256color
Installation
pacman on msys2
pacman -S mingw-w64-ucrt-x86_64-neovim
The text was updated successfully, but these errors were encountered: