gruvbox-community / gruvbox

Retro groove color scheme for Vim - community maintained edition
MIT License
801 stars 62 forks source link

Vim filetype highlighting #145

Closed craigmac closed 3 years ago

craigmac commented 3 years ago

I believe this is a $VIMRUNTIME/syntax/vim.vim issue, and I've contacted the maintainer (via email as the vim github tracker says to do for $VIMRUNTIME issues), but I thought it might be a quick fix for someone here to tackle.

Steps to reproduce:

  1. vim --clean
  2. :edit /tmp/foo.vim
  3. enter: source $VIMRUNTIME/defaults.vim
  4. enter: packadd! vim-fugitive

Notice 'defaults.vim' ending '.vim' is coloured when it should not be, and 'vim-' part of 'vim-fugitive' is coloured when it should not be.

The same issue exists when you do the above steps but are using colorscheme gruvbox (from this repo).

Screen Shot 2020-10-05 at 11 02 21 AM Screen Shot 2020-10-05 at 10 53 16 AM

rbong commented 3 years ago

Nothing we can do, we don't define syntax groups, just colors for those syntax groups.