Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clang-tidy doesn't work #721

Open
fabolous005 opened this issue Jan 6, 2025 · 1 comment
Open

clang-tidy doesn't work #721

fabolous005 opened this issue Jan 6, 2025 · 1 comment

Comments

@fabolous005
Copy link

For some reason my clang-tidy doesn't work.
I have configured like any other linter (which all work) by filetype.

I can see that clang-tidy gets runs but it exits immediately, without reporting lints (which show up when manually calling clang-tidy).
I think this is because it's launched faultily.
Clang-tidy should be launched with the respective filename as argument, is there any way to configure this?
Maybe something like this:

require("lint").linters.clangtidy.args {
	"--quiet",
	"{}"
}
@fabolous005
Copy link
Author

Oh just read the very helpful info for adding own linters...
So i guess the issue is that the shown lints are not parsed correctly, or just don't show up in neovim for some reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant