mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-04 09:23:44 +08:00
#427 Implement buffer variable overrides for all linter options
This commit is contained in:
1 parent
e80116cee0
commit
e97dada261
45 files changed
+117
-108
No files matched your search
@@ -6,7 +6,7 @@ let g:ale_c_cppcheck_options = get(g:, 'ale_c_cppcheck_options', '--enable=style
|
||||
|
||||
function! ale_linters#c#cppcheck#GetCommand(buffer) abort
|
||||
return 'cppcheck -q --language=c '
|
||||
\ . g:ale_c_cppcheck_options
|
||||
\ . ale#Var(a:buffer, 'c_cppcheck_options')
|
||||
\ . ' %t'
|
||||
endfunction
|
||||
|
||||
|
||||
Reference in new issue
Block a user