Merge pull request #2068 from m-pilia/ispc

Add linter for ispc
This commit is contained in:
w0rp
2018-11-21 16:44:59 +00:00
committed by GitHub
6 changed files with 183 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
Before:
call ale#assert#SetUpLinterTest('ispc', 'ispc')
After:
call ale#assert#TearDownLinterTest()
Execute(The executable should be configurable):
AssertLinter 'ispc',
\ ale#Escape('ispc') . ' --nowrap %s'
let b:ale_ispc_ispc_executable = 'foo'
AssertLinter 'foo',
\ ale#Escape('foo') . ' --nowrap %s'
Execute(The options should be configurable):
let g:ale_ispc_ispc_options = '--foo'
AssertLinter 'ispc',
\ ale#Escape('ispc') . ' --nowrap --foo' . ' %s'