summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorObserverOfTime <chronobserver@disroot.org>2019-07-02 10:11:10 +0300
committerw0rp <w0rp@users.noreply.github.com>2019-07-02 08:11:10 +0100
commit870058689063b4ba69851cb3f7e71726d2263cf0 (patch)
treea9b0aa48deeda5704c9d8c6861da914f9e0f9da6 /doc
parent89f7292138087e1410b2430ae6d359d42e7fe31f (diff)
downloadale-870058689063b4ba69851cb3f7e71726d2263cf0.zip
Add clangtidy fixer (#2548)
* Add clangtidy fixer * Add extra_options to clangtidy fixer * Also, use cpp variables in cpp filetypes
Diffstat (limited to 'doc')
-rw-r--r--doc/ale-c.txt9
-rw-r--r--doc/ale-cpp.txt9
2 files changed, 18 insertions, 0 deletions
diff --git a/doc/ale-c.txt b/doc/ale-c.txt
index ec7304f4..c9eb79db 100644
--- a/doc/ale-c.txt
+++ b/doc/ale-c.txt
@@ -177,6 +177,15 @@ g:ale_c_clangtidy_extra_options *g:ale_c_clangtidy_extra_options*
This variable can be changed to modify flags given to clang-tidy.
+g:ale_c_clangtidy_fix_errors *g:ale_c_clangtidy_fix_errors*
+ *b:ale_c_clangtidy_fix_errors*
+ Type: |Number|
+ Default: `1`
+
+ This variable can be changed to disable the `-fix-errors` option for the
+ |clangtidy| fixer.
+
+
===============================================================================
cppcheck *ale-c-cppcheck*
diff --git a/doc/ale-cpp.txt b/doc/ale-cpp.txt
index 50855c10..ead3be28 100644
--- a/doc/ale-cpp.txt
+++ b/doc/ale-cpp.txt
@@ -146,6 +146,15 @@ g:ale_cpp_clangtidy_extra_options *g:ale_cpp_clangtidy_extra_options*
This variable can be changed to modify flags given to clang-tidy.
+g:ale_cpp_clangtidy_fix_errors *g:ale_cpp_clangtidy_fix_errors*
+ *b:ale_cpp_clangtidy_fix_errors*
+ Type: |Number|
+ Default: `1`
+
+ This variable can be changed to disable the `-fix-errors` option for the
+ |clangtidy| fixer.
+
+
===============================================================================
clazy *ale-cpp-clazy*