新手问题 如何关闭 sublimelinter 对 Ruby 的语法检测?

kirineko · May 04, 2016 · Last by kirineko replied at May 04, 2016 · 3411 hits

我在 Sublime 3 上安装了 sublimelinter 插件,然后在对 ruby 检测时,出现了下图中的问题:

这问题导致我在使用:to => 'welcome#index'语法时就会被提示错误:

如何解决这个问题,如果不能解决的话,怎么把 sublimelinter 对 ruby 的检测关掉呢?

提示你用 1.9 的 hash 语法了。

root to: 'welcome#index'

好久没写 ruby 了,不知道对不对。

#1 楼 @heliang7 原来是这样子,使用新语法解决了。

You need to Sign in before reply, if you don't have an account, please Sign up first.