dylanaraps / wal.vim

🎨 A vim colorscheme for use with wal
MIT License
220 stars 41 forks source link

CursorLine makes some Identifier invisible #12

Closed eupiteco closed 5 years ago

eupiteco commented 6 years ago

:set cursorline makes the Identifier elements to change it's color in the current line. Unfortunatly the new color matches the CursorLine ctermbg making it invisible.

Follows a screenshot to show what I mean. 2018-09-03-211538_889x458_scrot

tott commented 6 years ago

Running into the same issue. Did anyone find a good solution for this already?

tott commented 6 years ago

fwiw, i got good results just replacing the cursorline with hi CursorLine ctermbg=7 ctermfg=0 and also hi CursorLineNr ctermbg=7 ctermfg=0

eupiteco commented 6 years ago

@tott Thanks for the tip. I already tried that and it works. But what if you want to keep the CursorLine color and change tha text one because it will look nicer?

eupiteco commented 5 years ago

@dylanaraps any updates on this or directions for me to try a fix?

dylanaraps commented 5 years ago

I need simple steps to reproduce this on my machine.

eupiteco commented 5 years ago
  1. Set vim to use the wal colorscheme
  2. :set cursorline
  3. Open a HTML or any *ML tagsfile, the tags become invisible as you navigate to the lines they're on.

Since the tags have another color when not in the current line, an expected behavior would be it to keep the default color.

ntk148v commented 5 years ago

Hi all, i have the same issue.

image

To workaround, I've changed CursorLine bg value to 2 instead. It looks better now :dancer:

image

I open a PR #16.