morhetz / gruvbox

Retro groove color scheme for Vim
13.65k stars 1.11k forks source link

Lua syntax highlighting incomplete #251

Open jdillonh opened 6 years ago

jdillonh commented 6 years ago
screen shot 2018-08-17 at 2 24 50 am

"and" and "not" should be highlighted, as they are logical operators in Lua. Also, not pictured is "or", which should be highlighted as well.

dtcyganok commented 6 years ago

For highlight lua operators (and, or, not) i add to my after/syntax/lua.vim this:

highlight link luaOperator Special
R2robot commented 6 years ago

It's highlighting for me.

image

Edit: (before posting) just remembered im not using the default lua.vim syntax though. I'm using the https://github.com/sheerun/vim-polyglot which includes https://github.com/tbastos/vim-lua

jdillonh commented 6 years ago

Thanks! I added: highlight link luaOperator Special to my .vimrc and it fixed it right up.