2016-04-28 110 views

回答

1

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 

所以是的,這是正常的。

1

您可以參觀https://packagecontrol.io/和使用類似Railscast配色方案

自帶W上的基本語法高亮/崇高是相當稀疏 - 這些包裝通常會做的更好。這也只是一個例子。有很多主題和配色方案。

要根據你的崇高版本從這個頁面https://packagecontrol.io/installation#st3

的片段安裝包控制 ctrl+和過去