You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The cursor-color is the same as the background on an error-character when using cursorline.
To Reproduce
Steps to reproduce the behavior: set cursorline
Open a file with an error highlighted.
Move the cursor to an error-highlighted character.
The cursor won't be visible.
Expected behavior
Cursor can be distinguished.
Screenshots
When the cursor is not on the error text
Now the cursor is on the first character of the whitespace at the end of the line
Edit:
The way I highlight whitespace at the end of the line:
autocmd BufWinEnter <buffer> match Error /\s\+$/
autocmd InsertEnter <buffer> match Error /\s\+\%#\@<!$/
autocmd InsertLeave <buffer> match Error /\s\+$/
autocmd BufWinLeave <buffer> call clearmatches()
The text was updated successfully, but these errors were encountered:
Describe the bug
The cursor-color is the same as the background on an error-character when using cursorline.
To Reproduce
Steps to reproduce the behavior:
set cursorline
Open a file with an error highlighted.
Move the cursor to an error-highlighted character.
The cursor won't be visible.
Expected behavior
Cursor can be distinguished.
Screenshots
![image](https://user-images.githubusercontent.com/10359335/234265697-7e78f7da-9d13-48c7-9847-f4514bee50a2.png)
When the cursor is not on the error text
Now the cursor is on the first character of the whitespace at the end of the line
![image](https://user-images.githubusercontent.com/10359335/234265868-e0a9f673-04d4-46a0-96b4-5222b2357fed.png)
Edit:
The way I highlight whitespace at the end of the line:
The text was updated successfully, but these errors were encountered: