summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAttila Maczak <attila@maczak.hu>2019-01-27 06:45:57 -0500
committerw0rp <w0rp@users.noreply.github.com>2019-01-27 11:45:57 +0000
commitd7ced31fe20b218320046eea46ea2f8558d1ee4b (patch)
tree752d3542f3aad574e95bd1cb4b1a9f8e9c8d4ad5 /doc
parente46c17e8ef85c3108f93bd3f19d6f1775b2fbf63 (diff)
downloadale-d7ced31fe20b218320046eea46ea2f8558d1ee4b.zip
add cmake-format fixer support (#2244)
Diffstat (limited to 'doc')
-rw-r--r--doc/ale-cmake.txt18
-rw-r--r--doc/ale.txt3
2 files changed, 20 insertions, 1 deletions
diff --git a/doc/ale-cmake.txt b/doc/ale-cmake.txt
index fb46336f..602637b1 100644
--- a/doc/ale-cmake.txt
+++ b/doc/ale-cmake.txt
@@ -22,4 +22,22 @@ g:ale_cmake_cmakelint_options *g:ale_cmake_cmakelint_options*
===============================================================================
+cmake-format *ale-cmake-cmakeformat*
+
+g:ale_cmake_cmakeformat_executable *g:ale_cmake_cmakeformat_executable*
+ *b:ale_cmake_cmakeformat_executable*
+ Type: |String|
+ Default: `'cmakeformat'`
+
+ This variable can be set to change the path the cmake-format.
+
+
+g:ale_cmake_cmakeformat_options *g:ale_cmake_cmakeformat_options*
+ *b:ale_cmake_cmakeformat_options*
+ Type: |String|
+ Default: `''`
+
+ This variable can be set to pass additional options to cmake-format.
+
+===============================================================================
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
diff --git a/doc/ale.txt b/doc/ale.txt
index 9b91d3a0..c8ec6652 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -54,6 +54,7 @@ CONTENTS *ale-contents*
cfn-python-lint.....................|ale-cloudformation-cfn-python-lint|
cmake.................................|ale-cmake-options|
cmakelint...........................|ale-cmake-cmakelint|
+ cmake-format........................|ale-cmake-cmakeformat|
cpp...................................|ale-cpp-options|
clang...............................|ale-cpp-clang|
clangd..............................|ale-cpp-clangd|
@@ -432,7 +433,7 @@ Notes:
* Chef: `foodcritic`
* Clojure: `joker`
* CloudFormation: `cfn-python-lint`
-* CMake: `cmakelint`
+* CMake: `cmakelint`, `cmake-format`
* CoffeeScript: `coffee`, `coffeelint`
* Crystal: `crystal`!!
* CSS: `csslint`, `prettier`, `stylelint`