fix: lua highlighting to match styleguide#22
fix: lua highlighting to match styleguide#22jack-mil merged 3 commits intocatppuccin:mainfrom jack-mil:lua-syntax
Conversation
|
I think I'd prefer doc comments to be overlay even if it looks more "bland", the yellow is quite off-putting to me. |
(This is how we do it in all the other syntax highlighting ports fwiw.) Can we make booleans |
Not really, all builtin keywords are hardcoded for this one, and it includes "true" "false" and "nill" along with "function" "return" "local" etc.... |
|
It's fine then, keywords being mauve is more important than bools being peach. 👍 |
Also unfortunately operators [+=-*/], but it is more consistent with choices for other language PRs
|
Sorry to wake this conversation up again, but I realized when looking at this again that to be consistent with choices in the other PRs, I think braces and parenthesis should be overlay2. In Npp this is the "OPERATOR" group for Lua, so unfortunately that means [+-*/=] won't be sky. This is the same compromise for Python in #31. |


Again, the Npp language syntax lexer is very basic, so this results in a much less colorful theme then VSCode (esp. in doc-comments)
To be merged after #14
Relates to #17