Closed the-overdriven closed 2 years ago
Working here. Maybe there is some other context in your code throwing it off 🤷🏻 .
I've downloaded portable Sublime Text (same version), opened it, installed BracketHighlighter and it seems to highlight if-end blocks now. What's even stranger, my non-portable seems to be automatically fixed as well. One would thought portable version should have no affect on installed ST instance... but anyhow I'm glad it's fixed. Thanks for instant feedback.
Description
If-End blocks in Lua don't seem to be highlighted. Probably it's not a bug, rather a shortcoming. Which would make this ticket a feature request.
I'm sure the plugin is installed and working, since it seems to be highlighting beginning and ending of brackets in one line If-End statements, so it's doing something.
For comparison, see how Webstorm with EmmyLua plugin is very clearly highlighting "if" and "end" here:
This is what I see in Sublime Text with BracketHighlighter plugin when I move cursor at "if" position:
Sublime Text is also not reindenting the code correctly, pushing end statements further to the right side (so it's not in one line with If), but not sure if it's this plugin fault or ST's.
Support Info
Steps to Reproduce Issue