mirror of
https://github.com/amix/vimrc
synced 2025-07-12 14:15:00 +08:00
.
This commit is contained in:
0
sources_non_forked/ale/ale_linters/c/cc.vim
Normal file → Executable file
0
sources_non_forked/ale/ale_linters/c/cc.vim
Normal file → Executable file
0
sources_non_forked/ale/ale_linters/c/ccls.vim
Normal file → Executable file
0
sources_non_forked/ale/ale_linters/c/ccls.vim
Normal file → Executable file
0
sources_non_forked/ale/ale_linters/c/clangd.vim
Normal file → Executable file
0
sources_non_forked/ale/ale_linters/c/clangd.vim
Normal file → Executable file
3
sources_non_forked/ale/ale_linters/c/clangtidy.vim
Normal file → Executable file
3
sources_non_forked/ale/ale_linters/c/clangtidy.vim
Normal file → Executable file
@ -34,9 +34,6 @@ function! ale_linters#c#clangtidy#GetCommand(buffer, output) abort
|
||||
" Get the options to pass directly to clang-tidy
|
||||
let l:extra_options = ale#Var(a:buffer, 'c_clangtidy_extra_options')
|
||||
|
||||
" Get the options to pass directly to clang-tidy
|
||||
let l:extra_options = ale#Var(a:buffer, 'c_clangtidy_extra_options')
|
||||
|
||||
return '%e'
|
||||
\ . (!empty(l:checks) ? ' -checks=' . ale#Escape(l:checks) : '')
|
||||
\ . (!empty(l:extra_options) ? ' ' . ale#Escape(l:extra_options) : '')
|
||||
|
2
sources_non_forked/ale/ale_linters/c/cppcheck.vim
Normal file → Executable file
2
sources_non_forked/ale/ale_linters/c/cppcheck.vim
Normal file → Executable file
@ -10,7 +10,7 @@ function! ale_linters#c#cppcheck#GetCommand(buffer) abort
|
||||
let l:buffer_path_include = empty(l:compile_commands_option)
|
||||
\ ? ale#handlers#cppcheck#GetBufferPathIncludeOptions(a:buffer)
|
||||
\ : ''
|
||||
let l:template = ' --template=''{file}:{line}:{column}: {severity}:{inconclusive:inconclusive:} {message} [{id}]\\n{code}'''
|
||||
let l:template = ' --template=' . ale#Escape('{file}:{line}:{column}: {severity}:{inconclusive:inconclusive:} {message} [{id}]\\n{code}')
|
||||
|
||||
return l:cd_command
|
||||
\ . '%e -q --language=c'
|
||||
|
0
sources_non_forked/ale/ale_linters/c/cquery.vim
Normal file → Executable file
0
sources_non_forked/ale/ale_linters/c/cquery.vim
Normal file → Executable file
0
sources_non_forked/ale/ale_linters/c/flawfinder.vim
Normal file → Executable file
0
sources_non_forked/ale/ale_linters/c/flawfinder.vim
Normal file → Executable file
Reference in New Issue
Block a user