GreenXenith / minetest-tools

Minetest extension for Visual Studio Code
MIT License
28 stars 6 forks source link

Syntax Highlighting: Highlight the 'and' and 'not' operators #46

Closed Skivling closed 7 months ago

Skivling commented 7 months ago

In if statements, both the and and the not operators are currently white. This confuses me and made me double check the Lua documentation to make sure I was using the right operators, and that is wasn't supposed to be something like && for and.

They should be purple, like if, else, & end are.

GreenXenith commented 7 months ago

Lua syntax highlighting is the job of editor themes and other extensions. Please try installing other themes and make sure your editor is recognizing your files properly as Lua.