Sepp
Sepp

Reputation: 347

Sublime Text 3: Ruby syntax highlighting bug

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!

Upvotes: 19

Views: 2740

Answers (2)

Ryan Schafer
Ryan Schafer

Reputation: 1

For Ubuntu 17.10 users: Clone the repo using the instructions in the readme for Sublime (as Sepp stated), then just restart Sublime.

Upvotes: 0

Frank Etoundi
Frank Etoundi

Reputation: 356

Try installing a Better Ruby. It Solved the problem for me.

Upvotes: 7

Related Questions