summaryrefslogtreecommitdiff
path: root/doc/ale-c.txt
diff options
context:
space:
mode:
authorPeter Renström <renstrom.peter@gmail.com>2017-08-24 23:49:43 +0200
committerw0rp <w0rp@users.noreply.github.com>2017-08-24 22:49:43 +0100
commit4bea50b82f53a351d218cc3af120b460b9d1639f (patch)
treec14ac460c270d0415fea5fa6ec2988ee4cbbf76e /doc/ale-c.txt
parent623fdf212cd70131df4d3c52de26d9d1faa5d90e (diff)
downloadale-4bea50b82f53a351d218cc3af120b460b9d1639f.zip
Add clang-format fixer for C/C++ (#873)
* Add clang-format fixer for C/C++ * Document clang-format options * Refer ale-cpp-clangformat to ale-c-clangformat
Diffstat (limited to 'doc/ale-c.txt')
-rw-r--r--doc/ale-c.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/ale-c.txt b/doc/ale-c.txt
index 2572d885..1e1322bc 100644
--- a/doc/ale-c.txt
+++ b/doc/ale-c.txt
@@ -60,4 +60,23 @@ g:ale_c_gcc_options *g:ale_c_gcc_options*
===============================================================================
+clang-format *ale-c-clangformat*
+
+g:ale_c_clangformat_executable *g:ale_c_clangformat_executable*
+ *b:ale_c_clangformat_executable*
+ Type: |String|
+ Default: `'clang-format'`
+
+ This variable can be changed to use a different executable for clang-format.
+
+
+g:ale_c_clangformat_options *g:ale_c_clangformat_options*
+ *b:ale_c_clangformat_options*
+ Type: |String|
+ Default: `''`
+
+ This variable can be change to modify flags given to clang-format.
+
+
+===============================================================================
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: