custom clang tidy respect args --checks='-*'
I'm trying to create a wrapper to get a custom built clang-tidy binary to provide diagnostics. But for some reason it spews out all difference warnings even though I do --checks='-*,performance-custom-check', is it possible to debug what nvim-lint is doing? Trying to trouble shoot this but not sure where it's going wrong.
If I run custom-clang-tidy from command line, I only get the subset of checks I'm interested in.
I'm trying to do print() in lua/lint.lua:M.lint() to figure out what's going on, and it seems just like 1 one of my arguments actually get's passed to the the lint function.
Printing here also boggle me. Prints at the funciton top level are not visible in the messages output. But if I put prints in uv.spawned function, then I see them.
is it possible to debug what nvim-lint is doing?
You could use a debugger. In any case, customizing options like described in https://github.com/mfussenegger/nvim-lint#customize-built-in-linter-parameters should work