We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
selector
syntax
1 parent 0fa04d9 commit a2b9a9cCopy full SHA for a2b9a9c
linter.py
@@ -18,7 +18,10 @@
18
class Ruby(RubyLinter):
19
"""Provides an interface to ruby -wc."""
20
21
- syntax = ('ruby', 'ruby on rails', 'rspec')
+ defaults = {
22
+ 'selector': 'source.ruby'
23
+ }
24
+
25
cmd = 'ruby -wc'
26
regex = (
27
r'^(?P<file>.+?):(?P<line>\d+): (?:(?P<error>.*?error)|(?P<warning>warning))[,:] (?P<message>[^\r\n]+)\r?\n'
0 commit comments