backing up sublime settings

This commit is contained in:
2014-04-04 11:21:58 -04:00
commit 2cbece8593
274 changed files with 23793 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
from lint import Linter
class Puppet(Linter):
language = 'puppet'
cmd = ('puppet', 'parser', 'validate', '--color=false')
regex = r'^([^:]+:){2}\s*(?P<error>(Syntax error at|Could not match) \'?(?P<near>[^ ]*?)\'?.*) at [^:]*:(?P<line>\d+)$'
def run(self, cmd, code):
return self.tmpfile(cmd, code, suffix='.puppet')