On 13th September Sublime released the first non beta version of Sublime Text 3. I just did the upgrade and now I have issues with the "improved syntax highlighting" when I use Ruby.
def foo
@bar / @baz
end
So if I want to divide instance variables the syntax highlighting breaks. Does anybody know how to fix this?
Thank you
UPDATE:
This pull request fixed the issue. Clone the repo and move /Packages/Ruby
to
~/Library/Application Support/Sublime Text 3/Packages/
After restarting Sublime the syntax issue is fixed!
For example, if you save a document with the file extension “. py” for Python documents, then Sublime Text 3 will automatically enable the Python Syntax Highlighting. Tip: To disable Syntax Highlighting, select “Plaintext” from the supported language list.
Sublime Text can use both . sublime-syntax and . tmLanguage files for syntax highlighting.
Try installing a Better Ruby. It Solved the problem for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With