mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-28 06:46:52 +08:00
Simplify the code for most linters and tests with closures
This commit is contained in:
@@ -12,3 +12,9 @@ Execute(The executable should be configurable):
|
||||
|
||||
AssertLinter 'foobar',
|
||||
\ ale#Escape('foobar') . ' -cuda -std=c++11 %s -o ' . g:ale#util#nul_file
|
||||
|
||||
Execute(The options should be configurable):
|
||||
let g:ale_cuda_nvcc_options = '--foobar'
|
||||
|
||||
AssertLinter 'nvcc',
|
||||
\ ale#Escape('nvcc') . ' -cuda --foobar %s -o ' . g:ale#util#nul_file
|
||||
|
||||
Reference in New Issue
Block a user