summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAndrey Melentyev <andrey.melentyev@protonmail.com>2018-07-22 19:30:57 +0200
committerAndrey Melentyev <andrey.melentyev@protonmail.com>2018-07-22 21:22:38 +0200
commit9b4963847d71ea7b53c0bf90a27d4b55fc0696fe (patch)
treee66389fde8cf2440166ba32af5c733fb354669a9 /doc
parentbaa44bb3a7a99b296d45d8790c3341fd397d61bb (diff)
downloadale-9b4963847d71ea7b53c0bf90a27d4b55fc0696fe.zip
Add Clangd language server support for C
Diffstat (limited to 'doc')
-rw-r--r--doc/ale-c.txt19
-rw-r--r--doc/ale.txt3
2 files changed, 21 insertions, 1 deletions
diff --git a/doc/ale-c.txt b/doc/ale-c.txt
index c41f3bc8..acff722c 100644
--- a/doc/ale-c.txt
+++ b/doc/ale-c.txt
@@ -64,6 +64,25 @@ g:ale_c_clang_options *g:ale_c_clang_options*
===============================================================================
+clangd *ale-c-clangd*
+
+g:ale_c_clangd_executable *g:ale_c_clangd_executable*
+ *b:ale_c_clangd_executable*
+ Type: |String|
+ Default: `'clangd'`
+
+ This variable can be changed to use a different executable for clangd.
+
+
+g:ale_c_clangd_options *g:ale_c_clangd_options*
+ *b:ale_c_clangd_options*
+ Type: |String|
+ Default: `''`
+
+ This variable can be changed to modify flags given to clangd.
+
+
+===============================================================================
clang-format *ale-c-clangformat*
g:ale_c_clangformat_executable *g:ale_c_clangformat_executable*
diff --git a/doc/ale.txt b/doc/ale.txt
index 1a75c29c..8182c27a 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -26,6 +26,7 @@ CONTENTS *ale-contents*
gawk................................|ale-awk-gawk|
c.....................................|ale-c-options|
clang...............................|ale-c-clang|
+ clangd..............................|ale-c-clangd|
clang-format........................|ale-c-clangformat|
clangtidy...........................|ale-c-clangtidy|
cppcheck............................|ale-c-cppcheck|
@@ -335,7 +336,7 @@ Notes:
* Awk: `gawk`
* Bash: `language-server`, `shell` (-n flag), `shellcheck`, `shfmt`
* Bourne Shell: `shell` (-n flag), `shellcheck`, `shfmt`
-* C: `cppcheck`, `cpplint`!!, `clang`, `clangtidy`!!, `clang-format`, `flawfinder`, `gcc`
+* C: `cppcheck`, `cpplint`!!, `clang`, `clangd`, `clangtidy`!!, `clang-format`, `flawfinder`, `gcc`
* C++ (filetype cpp): `clang`, `clangcheck`!!, `clangtidy`!!, `clang-format`, `cppcheck`, `cpplint`!!, `cquery`, `flawfinder`, `gcc`
* CUDA: `nvcc`!!
* C#: `mcs`, `mcsc`!!