我正在学习Ruby,我使用的是Sublime Text 3,但我发现语法高亮显得很奇怪。崇高的文字3难看的语法高亮
例如:
即使设置语法红宝石后。
我想知道这是正常的,或者我需要改变某些事情上的用户 设置或类似的东西。
我正在学习Ruby,我使用的是Sublime Text 3,但我发现语法高亮显得很奇怪。崇高的文字3难看的语法高亮
例如:
即使设置语法红宝石后。
我想知道这是正常的,或者我需要改变某些事情上的用户 设置或类似的东西。
Ruby的语法文件(Ruby.sublime-syntax
)包含未解决问题的列表。其中有:
text:
"p << end
print me!
end"
symptoms:
not recognized as a heredoc
solution:
there is no way to distinguish perfectly between the << operator and the start
of a heredoc. Currently, we require assignment to recognize a heredoc. More
refinement is possible.
• Heredocs with indented terminators (<<-) are always distinguishable, however.
• Nested heredocs are not really supportable at present
所以是的,这是正常的。
您可以参观https://packagecontrol.io/和使用类似Railscast配色方案
自带W上的基本语法高亮/崇高是相当稀疏 - 这些包装通常会做的更好。这也只是一个例子。有很多主题和配色方案。
要根据你的崇高版本从这个页面https://packagecontrol.io/installation#st3
的片段安装包控制ctrl+
和过去