EvgeniyPeshkov / syntax-highlighter

Syntax Highlighter extension for Visual Studio Code (VSCode). Based on Tree-sitter.
https://marketplace.visualstudio.com/items?itemName=evgeniypeshkov.syntax-highlighter
MIT License
210 stars 43 forks source link

[Lua] Highlighting improvements? #26

Open Yakehira opened 5 years ago

Yakehira commented 5 years ago

'self' is not an operator, 'self' has been flagged as operator which looks weird overall. In theming it's variable.language.

In this case 'func' shouldn't have the function color, only Sub should because thats our Function and 'func' inside function should have the same color as outside because it's the same reference.

Also you can see that arg1 is colored like a variable, but it should have it's own color so it's not mixed with other variables. In theming it's variable.language.arguments.

Anything that can be done?

Stanzilla commented 4 years ago

Agree here, also is it intentional that end has a different color than function?