Closed Nicktho closed 7 years ago
thanks
Sorry @AlessandroYorba, were you the one who took the screenshot?
This is me with the theme + syntax, I'm missing a few highlights.
@Nicktho Very strange indeed. Looks like the HL colors for "Function, Identifiers, Special, and Operators are missing from your screenshot. However, it looks like the JS syntax plugin did pick up the PreProc highlight "createPositionalPseudo". Here's mine
With Theme and with JS syntax:
Here's a screenshot without JS syntax:
BTW, are you using the terminal or gui?
I'm on the terminal, and using neovim. I might do some digging into highlight groups.
@Nicktho
Show me a screenshot of a html file. I wrote despacio so that HTML highlights reference the Function Keyword highlight. So if something is overwriting the highlights that will also tell us.
Also, from an open JS file and from the vim command line type:
highlight Function ctermfg=223 guifg=#ffdfaf
If the above command adds the color back to the function keywords that tells me something is overwriting the highlight at runtime
before highlight Function ctermfg=223 guifg=#ffdfaf
:
after:
html (default syntax)
I took the following screenshot from :h syntax
so it appears the colours are applied correctly to the highlight groups, its just the syntax is not working correctly.
Nevermind, calling syntax enable
after changing the color scheme worked. Thanks for your time Alessandro.
That's great! Hope you enjoy despacio now!
this: https://github.com/jelera/vim-javascript-syntax