From d7ced31fe20b218320046eea46ea2f8558d1ee4b Mon Sep 17 00:00:00 2001 From: Attila Maczak Date: Sun, 27 Jan 2019 06:45:57 -0500 Subject: add cmake-format fixer support (#2244) --- doc/ale-cmake.txt | 18 ++++++++++++++++++ doc/ale.txt | 3 ++- 2 files changed, 20 insertions(+), 1 deletion(-) (limited to 'doc') 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 @@ -21,5 +21,23 @@ g:ale_cmake_cmakelint_options *g:ale_cmake_cmakelint_options* This variable can be set to pass additional options to cmakelint. +=============================================================================== +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` -- cgit v1.2.3