mirror of
https://github.com/sstent/sublime-text-3.git
synced 2026-02-05 03:51:56 +00:00
backing up sublime settings
This commit is contained in:
10
Packages/User/linters/nasm.py
Normal file
10
Packages/User/linters/nasm.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from lint import Linter
|
||||
import os
|
||||
|
||||
class Nasm(Linter):
|
||||
language = 'x86 assembly'
|
||||
cmd = ('nasm', '-X', 'gnu', '-I.', '-o', os.devnull)
|
||||
regex = r'^[^:]+:(?P<line>\d+): (?P<error>.*)$'
|
||||
|
||||
def run(self, cmd, code):
|
||||
return self.tmpfile(cmd, code, suffix='.asm')
|
||||
Reference in New Issue
Block a user