mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-30 16:14:30 +08:00
Add clazy as cpp linter
This commit is contained in:
@@ -138,6 +138,37 @@ g:ale_cpp_clangtidy_options *g:ale_cpp_clangtidy_options*
|
||||
of the |g:ale_c_build_dir_names| directories of the project tree.
|
||||
|
||||
|
||||
===============================================================================
|
||||
clazy *ale-cpp-clazy*
|
||||
|
||||
g:ale_cpp_clazy_executable *g:ale_cpp_clazy_executable*
|
||||
*b:ale_cpp_clazy_executable*
|
||||
Type: |String|
|
||||
Default: `'clazy-standalone'`
|
||||
|
||||
This variable can be changed to use a different executable for clazy.
|
||||
|
||||
|
||||
g:ale_cpp_clazy_checks *g:ale_cpp_clazy_checks*
|
||||
*b:ale_cpp_clazy_checks*
|
||||
Type: |List|
|
||||
Default: `['level1']`
|
||||
|
||||
The checks to enable for clazy with the `-checks` argument.
|
||||
|
||||
All options will be joined with commas, and escaped appropriately for
|
||||
the shell. The `-checks` flag can be removed entirely by setting this
|
||||
option to an empty List.
|
||||
|
||||
|
||||
g:ale_cpp_clazy_options *g:ale_cpp_clazy_options*
|
||||
*b:ale_cpp_clazy_options*
|
||||
Type: |String|
|
||||
Default: `''`
|
||||
|
||||
This variable can be changed to modify flags given to clazy.
|
||||
|
||||
|
||||
===============================================================================
|
||||
cppcheck *ale-cpp-cppcheck*
|
||||
|
||||
|
||||
@@ -47,6 +47,7 @@ CONTENTS *ale-contents*
|
||||
clangcheck..........................|ale-cpp-clangcheck|
|
||||
clang-format........................|ale-cpp-clangformat|
|
||||
clangtidy...........................|ale-cpp-clangtidy|
|
||||
clazy...............................|ale-cpp-clazy|
|
||||
cppcheck............................|ale-cpp-cppcheck|
|
||||
cpplint.............................|ale-cpp-cpplint|
|
||||
cquery..............................|ale-cpp-cquery|
|
||||
@@ -351,7 +352,7 @@ Notes:
|
||||
* Bash: `language-server`, `shell` (-n flag), `shellcheck`, `shfmt`
|
||||
* Bourne Shell: `shell` (-n flag), `shellcheck`, `shfmt`
|
||||
* C: `cppcheck`, `cpplint`!!, `clang`, `clangd`, `clangtidy`!!, `clang-format`, `cquery`, `flawfinder`, `gcc`
|
||||
* C++ (filetype cpp): `clang`, `clangd`, `clangcheck`!!, `clangtidy`!!, `clang-format`, `cppcheck`, `cpplint`!!, `cquery`, `flawfinder`, `gcc`
|
||||
* C++ (filetype cpp): `clang`, `clangd`, `clangcheck`!!, `clangtidy`!!, `clang-format`, `clazy`!!, `cppcheck`, `cpplint`!!, `cquery`, `flawfinder`, `gcc`
|
||||
* CUDA: `nvcc`!!
|
||||
* C#: `mcs`, `mcsc`!!
|
||||
* Chef: `foodcritic`
|
||||
|
||||
Reference in New Issue
Block a user