We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 55e77ca + 5e6f37e commit 8567a0aCopy full SHA for 8567a0a
1 file changed
linter.py
@@ -17,7 +17,9 @@ class Puppet(Linter):
17
18
"""Provides an interface to puppet."""
19
20
- syntax = 'puppet'
+ defaults = {
21
+ 'selector': 'source.puppet'
22
+ }
23
cmd = ('puppet', 'parser', 'validate', '--color=false')
24
regex = r'^Error:.+?(?P<message>Syntax error at \'(?P<near>.+?)\'?(?P<line>\d+):?(?P<col>\d+))'
25
error_stream = util.STREAM_STDERR
0 commit comments