mfussenegger / nvim-lint

An asynchronous linter plugin for Neovim complementary to the built-in Language Server Protocol support.
GNU General Public License v3.0
1.76k stars 191 forks source link

Fix cppcheck default config #580

Closed TheRealLorenz closed 1 month ago

TheRealLorenz commented 1 month ago

The function which returns the build directory might return an empty string, which is interpreted by cppcheck as a filename.

This errors if the user specifies the --project= argument, because it requires not to pass any file argument.