Closed alitokur closed 7 months ago
Configure nvim-lint to use cpplint for markdown file types (note: assuming you meant C++ file types, but the provided configuration targets markdown) as shown below:
That's just an example for markdown. If you use different linters for different filetypes you need to change it accordingly
I am trying to integrate cpplint with nvim-lint for C++ linting but linting results are not displayed after saving files.
Steps to Reproduce:
1- Install nvim-lint using packer with the following line in my packer configuration file:
2- Configure nvim-lint to use cpplint for markdown file types (note: assuming you meant C++ file types, but the provided configuration targets markdown) as shown below:
3- Set up an autocommand to trigger linting on BufWritePost:
4- Install cpplint via mason
note: I use cmake to generate a compile_commands.json file under the build directory.