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.
9月13日Sublime发布了Sublime Text 3的第一个非beta版本。我刚刚进行了升级,现在我在使用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/
此拉取请求修复了该问题。克隆repo并将/ Packages / Ruby移动到〜/ Library / Application Support / Sublime Text 3 / Packages /
After restarting Sublime the syntax issue is fixed!
重启Sublime后,语法问题得到解决!
2 个解决方案
#2
0
For Ubuntu 17.10 users: Clone the repo using the instructions in the readme for Sublime (as Sepp stated), then just restart Sublime.
对于Ubuntu 17.10用户:使用Sublime自述文件中的说明克隆repo(如Sepp所述),然后重新启动Sublime。
#1
#2
0
For Ubuntu 17.10 users: Clone the repo using the instructions in the readme for Sublime (as Sepp stated), then just restart Sublime.
对于Ubuntu 17.10用户:使用Sublime自述文件中的说明克隆repo(如Sepp所述),然后重新启动Sublime。