Skip to content

Commit 55a7c25

Browse files
committed
Removed ERB support, it doesn't really work.
1 parent 0b05e32 commit 55a7c25

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

linter.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,11 @@ class Ruby(RubyLinter):
1717

1818
"""Provides an interface to ruby -wc."""
1919

20-
syntax = ('ruby', 'ruby on rails', 'rspec', 'html (rails)')
20+
syntax = ('ruby', 'ruby on rails', 'rspec')
2121
cmd = 'ruby -wc'
2222
regex = (
2323
r'^.+?:(?P<line>\d+): (?:(?P<error>.*?error)|(?P<warning>warning))[,:] (?P<message>[^\r\n]+)\r?\n'
2424
r'(?:^[^\r\n]+\r?\n^(?P<col>.*?)\^)?'
2525
)
2626
multiline = True
27-
selectors = {'html (rails)': 'source.ruby.rails.embedded.html'}
2827
comment_re = r'\s*#'

0 commit comments

Comments
 (0)