mirror of
https://github.com/Reuh/SublimeLinter-contrib-candran.git
synced 2025-10-27 18:19:31 +00:00
Initial commit
This commit is contained in:
commit
caa6840c59
6 changed files with 87 additions and 0 deletions
10
linter.py
Executable file
10
linter.py
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
from SublimeLinter.lint import Linter, util
|
||||
|
||||
|
||||
class Candran(Linter):
|
||||
cmd = ('canc', '-parse', '-')
|
||||
regex = r'^.+?:.+?:(?P<line>\d+):(?P<col>\d+): (?P<message>.+)$'
|
||||
error_stream = util.STREAM_STDERR
|
||||
defaults = {
|
||||
'selector': 'source.candran'
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue