From 56658fd3ada284a373afffb49b0ec2d66ad00445 Mon Sep 17 00:00:00 2001 From: Ye Jingchen Date: Wed, 26 Sep 2018 20:09:37 +0800 Subject: Add ccls support for C/C++/ObjC --- doc/ale-c.txt | 31 +++++++++++++++++++++++++++++++ doc/ale-cpp.txt | 31 +++++++++++++++++++++++++++++++ doc/ale-objc.txt | 31 +++++++++++++++++++++++++++++++ doc/ale.txt | 3 +++ 4 files changed, 96 insertions(+) (limited to 'doc') diff --git a/doc/ale-c.txt b/doc/ale-c.txt index c3820ba0..2a2a879e 100644 --- a/doc/ale-c.txt +++ b/doc/ale-c.txt @@ -281,5 +281,36 @@ g:ale_c_uncrustify_options *g:ale_c_uncrustify_options* This variable can be change to modify flags given to uncrustify. +=============================================================================== +ccls *ale-c-ccls* + +g:ale_c_ccls_executable *g:ale_c_ccls_executable* + *b:ale_c_ccls_executable* + Type: |String| + Default: `'ccls'` + + This variable can be changed to use a different executable for ccls. + + +g:ale_c_ccls_init_options *g:ale_c_ccls_init_options* + *b:ale_c_ccls_init_options* + Type: |Dictionary| + Default: `{}` + + This variable can be changed to customize ccls initialization options. + Example: > + { + \ 'cacheDirectory': '/tmp/ccls', + \ 'cacheFormat': 'binary', + \ 'diagnostics': { + \ 'onOpen': 0, + \ 'opChange': 1000, + \ }, + \ } +< + Visit https://github.com/MaskRay/ccls/wiki/Initialization-options for all + available options and explanations. + + =============================================================================== vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: diff --git a/doc/ale-cpp.txt b/doc/ale-cpp.txt index 6c05c96d..47ba2c70 100644 --- a/doc/ale-cpp.txt +++ b/doc/ale-cpp.txt @@ -279,5 +279,36 @@ uncrustify *ale-cpp-uncrustify* See |ale-c-uncrustify| for information about the available options. +=============================================================================== +ccls *ale-cpp-ccls* + +g:ale_cpp_ccls_executable *g:ale_cpp_ccls_executable* + *b:ale_cpp_ccls_executable* + Type: |String| + Default: `'ccls'` + + This variable can be changed to use a different executable for ccls. + + +g:ale_cpp_ccls_init_options *g:ale_cpp_ccls_init_options* + *b:ale_cpp_ccls_init_options* + Type: |Dictionary| + Default: `{}` + + This variable can be changed to customize ccls initialization options. + Example: > + { + \ 'cacheDirectory': '/tmp/ccls', + \ 'cacheFormat': 'binary', + \ 'diagnostics': { + \ 'onOpen': 0, + \ 'opChange': 1000, + \ }, + \ } +< + Visit https://github.com/MaskRay/ccls/wiki/Initialization-options for all + available options and explanations. + + =============================================================================== vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: diff --git a/doc/ale-objc.txt b/doc/ale-objc.txt index 2d560267..0163175a 100644 --- a/doc/ale-objc.txt +++ b/doc/ale-objc.txt @@ -38,5 +38,36 @@ uncrustify *ale-objc-uncrustify* See |ale-c-uncrustify| for information about the available options. +=============================================================================== +ccls *ale-objc-ccls* + +g:ale_objc_ccls_executable *g:ale_objc_ccls_executable* + *b:ale_objc_ccls_executable* + Type: |String| + Default: `'ccls'` + + This variable can be changed to use a different executable for ccls. + + +g:ale_objc_ccls_init_options *g:ale_objc_ccls_init_options* + *b:ale_objc_ccls_init_options* + Type: |Dictionary| + Default: `{}` + + This variable can be changed to customize ccls initialization options. + Example: > + { + \ 'cacheDirectory': '/tmp/ccls', + \ 'cacheFormat': 'binary', + \ 'diagnostics': { + \ 'onOpen': 0, + \ 'opChange': 1000, + \ }, + \ } +< + Visit https://github.com/MaskRay/ccls/wiki/Initialization-options for all + available options and explanations. + + =============================================================================== vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: diff --git a/doc/ale.txt b/doc/ale.txt index b166d9c5..00765e73 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -34,6 +34,7 @@ CONTENTS *ale-contents* flawfinder..........................|ale-c-flawfinder| gcc.................................|ale-c-gcc| uncrustify..........................|ale-c-uncrustify| + ccls................................|ale-c-ccls| chef..................................|ale-chef-options| foodcritic..........................|ale-chef-foodcritic| clojure...............................|ale-clojure-options| @@ -55,6 +56,7 @@ CONTENTS *ale-contents* flawfinder..........................|ale-cpp-flawfinder| gcc.................................|ale-cpp-gcc| uncrustify..........................|ale-cpp-uncrustify| + ccls................................|ale-cpp-ccls| c#....................................|ale-cs-options| mcs.................................|ale-cs-mcs| mcsc................................|ale-cs-mcsc| @@ -185,6 +187,7 @@ CONTENTS *ale-contents* clang...............................|ale-objc-clang| clangd..............................|ale-objc-clangd| uncrustify..........................|ale-objc-uncrustify| + ccls................................|ale-objc-ccls| objcpp................................|ale-objcpp-options| clang...............................|ale-objcpp-clang| clangd..............................|ale-objcpp-clangd| -- cgit v1.2.3 From 626e47f5c9c3c86fef56020bedae996e8b026a9f Mon Sep 17 00:00:00 2001 From: Ye Jingchen Date: Wed, 26 Sep 2018 22:50:43 +0800 Subject: Add ccls tests --- doc/ale.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/ale.txt b/doc/ale.txt index 00765e73..e8e3b477 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -378,8 +378,8 @@ Notes: * Awk: `gawk` * 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`, `uncrustify` -* C++ (filetype cpp): `clang`, `clangd`, `clangcheck`!!, `clangtidy`!!, `clang-format`, `clazy`!!, `cppcheck`, `cpplint`!!, `cquery`, `flawfinder`, `gcc`, `uncrustify` +* C: `cppcheck`, `cpplint`!!, `clang`, `clangd`, `clangtidy`!!, `clang-format`, `cquery`, `flawfinder`, `gcc`, `uncrustify`, `ccls` +* C++ (filetype cpp): `clang`, `clangd`, `clangcheck`!!, `clangtidy`!!, `clang-format`, `clazy`!!, `cppcheck`, `cpplint`!!, `cquery`, `flawfinder`, `gcc`, `uncrustify`, `ccls` * CUDA: `nvcc`!! * C#: `mcs`, `mcsc`!!, `uncrustify` * Chef: `foodcritic` @@ -431,7 +431,7 @@ Notes: * Nim: `nim check`!! * nix: `nix-instantiate` * nroff: `alex`!!, `proselint`, `write-good` -* Objective-C: `clang`, `clangd`, `uncrustify` +* Objective-C: `clang`, `clangd`, `uncrustify`, `ccls` * Objective-C++: `clang`, `clangd`, `uncrustify` * OCaml: `merlin` (see |ale-ocaml-merlin|), `ols`, `ocamlformat` * Pawn: `uncrustify` -- cgit v1.2.3