Open tjaartvdwalt opened 4 years ago
What are the syntax groups being applied to those files?
In my netrc, pngs
are the same color as the other files.
Is the ownership adjusted on those or something?
:syntax
, gives me this output:
netrwPix xxx match /\c\(\S\+ \)*\S*\.\%(bmp\|fits\=\|gif\|je\=pg\|pcx\|ppc\|pgm\|png\|ppm\|psd\|rgb\|tif\|xbm\|xcf\)\>/ contains=n etrwTreeBar,@NoSpell
But I noticed that netrwPix
is supposed to be pink, not grey, as shown above.
If I type
:syntax off
:syntax on
it seems to fix things
the colors
@tjaartvdwalt Were you able to figure this out?
I did see that g:netrw_special_syntax
produces a more colorful netrw directory tree, but I was not able to reproduce the issue.
That said, I don't use current line highlighting, which I assume is a part of the reason why you're having the experience you are with current line issues in netrw.
What happened
Run netrw-explore
:Explore
The font color for certain files, is the same as the highlight color for the current file. If you navigate to one of these files, the file name becomes unreadable.
What I expected to happen
Font color, and highlight color to be different colors
Screenshot
Machine Info
vim
/gvim
/neovim
):vim
/gvim
8.2 (2019 Dec 12, compiled Apr 26 2020 11:23:21)
Linux hostname 5.6.10-arch1-1 #1 SMP PREEMPT Sat, 02 May 2020 19:11:54 +0000 x86_64 GNU/Linux
Alacritty
TERM
environment variable:Additional Info