Lint ispc on disk to solve include imprecisions

This commit is contained in:
Martino Pilia
2018-11-12 00:54:24 +01:00
parent 0b4507ed56
commit 9e8f2b0840
4 changed files with 9 additions and 18 deletions

View File

@@ -6,22 +6,15 @@ After:
Execute(The executable should be configurable):
AssertLinter 'ispc',
\ ale#Escape('ispc')
\ . ' -I ' . ale#Escape(getcwd())
\ . ' -'
\ ale#Escape('ispc') . ' %s'
let b:ale_ispc_ispc_executable = 'foo'
AssertLinter 'foo',
\ ale#Escape('foo')
\ . ' -I ' . ale#Escape(getcwd())
\ . ' -'
\ ale#Escape('foo') . ' %s'
Execute(The options should be configurable):
let g:ale_ispc_ispc_options = '--foo'
AssertLinter 'ispc',
\ ale#Escape('ispc')
\ . ' -I ' . ale#Escape(getcwd())
\ . ' --foo'
\ . ' -'
\ ale#Escape('ispc') . ' --foo' . ' %s'