enhance output of clang-tidy
This commit is contained in:
parent
efd30083a8
commit
0a37abcc6b
@ -10,9 +10,10 @@ return {
|
|||||||
args = { file, '-p', 'build_nvim', '--quiet', '--config-file', dir .. '/.clang-tidy' },
|
args = { file, '-p', 'build_nvim', '--quiet', '--config-file', dir .. '/.clang-tidy' },
|
||||||
cwd = dir,
|
cwd = dir,
|
||||||
components = {
|
components = {
|
||||||
{ 'on_result_diagnostics_quickfix', open = true },
|
{ 'on_result_diagnostics_quickfix', open = false},
|
||||||
{ 'on_output_parse', problem_matcher = '$gcc' },
|
{ 'on_output_parse', problem_matcher = '$gcc' },
|
||||||
{ 'on_result_diagnostics' },
|
{ 'on_result_diagnostics', remove_on_restart = true },
|
||||||
|
{ 'restart_on_save'},
|
||||||
'default' },
|
'default' },
|
||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user