enhance output of clang-tidy

This commit is contained in:
Hartmann 2024-04-11 10:34:00 +02:00
parent efd30083a8
commit 0a37abcc6b

View File

@ -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,