diff options
author | w0rp <w0rp@users.noreply.github.com> | 2018-08-23 22:54:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-23 22:54:11 +0100 |
commit | 81d0eccfab4aa194702b71cf7f950c0fdcbd3caa (patch) | |
tree | cfc9eb91839a425ee5791ada21a00d7fb1c49ebb /doc | |
parent | 7c10249c521d1bb03a90f6ca7f84ecf9f08e62f7 (diff) | |
parent | 795122a042a4792da2e55925afe4e135680019ea (diff) | |
download | ale-81d0eccfab4aa194702b71cf7f950c0fdcbd3caa.zip |
Merge pull request #1835 from barreyra/master
Enabling clangd for cpp, objc and objcpp
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ale-cpp.txt | 19 | ||||
-rw-r--r-- | doc/ale-objc.txt | 19 | ||||
-rw-r--r-- | doc/ale-objcpp.txt | 19 | ||||
-rw-r--r-- | doc/ale.txt | 9 |
4 files changed, 63 insertions, 3 deletions
diff --git a/doc/ale-cpp.txt b/doc/ale-cpp.txt index be7e840c..c42d20a2 100644 --- a/doc/ale-cpp.txt +++ b/doc/ale-cpp.txt @@ -33,6 +33,25 @@ g:ale_cpp_clang_options *g:ale_cpp_clang_options* =============================================================================== +clangd *ale-cpp-clangd* + +g:ale_cpp_clangd_executable *g:ale_cpp_clangd_executable* + *b:ale_cpp_clangd_executable* + Type: |String| + Default: `'clangd'` + + This variable can be changed to use a different executable for clangd. + + +g:ale_cpp_clangd_options *g:ale_cpp_clangd_options* + *b:ale_cpp_clangd_options* + Type: |String| + Default: `''` + + This variable can be changed to modify flags given to clangd. + + +=============================================================================== clangcheck *ale-cpp-clangcheck* `clang-check` will be run only when files are saved to disk, so that diff --git a/doc/ale-objc.txt b/doc/ale-objc.txt index 35b9a795..9e7db367 100644 --- a/doc/ale-objc.txt +++ b/doc/ale-objc.txt @@ -14,4 +14,23 @@ g:ale_objc_clang_options *g:ale_objc_clang_options* =============================================================================== +clangd *ale-objc-clangd* + +g:ale_objc_clangd_executable *g:ale_objc_clangd_executable* + *b:ale_objc_clangd_executable* + Type: |String| + Default: `'clangd'` + + This variable can be changed to use a different executable for clangd. + + +g:ale_objc_clangd_options *g:ale_objc_clangd_options* + *b:ale_objc_clangd_options* + Type: |String| + Default: `''` + + This variable can be changed to modify flags given to clangd. + + +=============================================================================== vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: diff --git a/doc/ale-objcpp.txt b/doc/ale-objcpp.txt index 73d68a2e..1f76aecb 100644 --- a/doc/ale-objcpp.txt +++ b/doc/ale-objcpp.txt @@ -14,4 +14,23 @@ g:ale_objcpp_clang_options *g:ale_objcpp_clang_options* =============================================================================== +clangd *ale-objcpp-clangd* + +g:ale_objcpp_clangd_executable *g:ale_objcpp_clangd_executable* + *b:ale_objcpp_clangd_executable* + Type: |String| + Default: `'clangd'` + + This variable can be changed to use a different executable for clangd. + + +g:ale_objcpp_clangd_options *g:ale_objcpp_clangd_options* + *b:ale_objcpp_clangd_options* + Type: |String| + Default: `''` + + This variable can be changed to modify flags given to clangd. + + +=============================================================================== vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: diff --git a/doc/ale.txt b/doc/ale.txt index e62dc972..416a48ff 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -43,6 +43,7 @@ CONTENTS *ale-contents* cmakelint...........................|ale-cmake-cmakelint| cpp...................................|ale-cpp-options| clang...............................|ale-cpp-clang| + clangd..............................|ale-cpp-clangd| clangcheck..........................|ale-cpp-clangcheck| clang-format........................|ale-cpp-clangformat| clangtidy...........................|ale-cpp-clangtidy| @@ -167,8 +168,10 @@ CONTENTS *ale-contents* write-good..........................|ale-nroff-write-good| objc..................................|ale-objc-options| clang...............................|ale-objc-clang| + clangd..............................|ale-objc-clangd| objcpp................................|ale-objcpp-options| clang...............................|ale-objcpp-clang| + clangd..............................|ale-objcpp-clangd| ocaml.................................|ale-ocaml-options| merlin..............................|ale-ocaml-merlin| ols.................................|ale-ocaml-ols| @@ -346,7 +349,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`, `clangcheck`!!, `clangtidy`!!, `clang-format`, `cppcheck`, `cpplint`!!, `cquery`, `flawfinder`, `gcc` +* C++ (filetype cpp): `clang`, `clangd`, `clangcheck`!!, `clangtidy`!!, `clang-format`, `cppcheck`, `cpplint`!!, `cquery`, `flawfinder`, `gcc` * CUDA: `nvcc`!! * C#: `mcs`, `mcsc`!! * Chef: `foodcritic` @@ -397,8 +400,8 @@ Notes: * Nim: `nim check`!! * nix: `nix-instantiate` * nroff: `alex`!!, `proselint`, `write-good` -* Objective-C: `clang` -* Objective-C++: `clang` +* Objective-C: `clang`, `clangd` +* Objective-C++: `clang`, `clangd` * OCaml: `merlin` (see |ale-ocaml-merlin|), `ols` * Perl: `perl -c`, `perl-critic`, `perltidy` * PHP: `langserver`, `phan`, `php -l`, `phpcs`, `phpmd`, `phpstan`, `phpcbf`, `php-cs-fixer` |