Open jdillonh opened 6 years ago
For highlight lua operators (and
, or
, not
) i add to my after/syntax/lua.vim
this:
highlight link luaOperator Special
It's highlighting for me.
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
Thanks! I added:
highlight link luaOperator Special
to my .vimrc and it fixed it right up.
"and" and "not" should be highlighted, as they are logical operators in Lua. Also, not pictured is "or", which should be highlighted as well.