mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
Add cpp linter (#64)
* Add c gcc option in the doc
* Add missing tag for eslint option in the doc
* Correct typo in doc (' ' instead of '.')
* add cpp linter
* correct typo in doc
* add filetype information for c++
This commit is contained in:
12
doc/ale.txt
12
doc/ale.txt
@@ -13,6 +13,7 @@ CONTENTS *ale-contents*
|
||||
4.1. eslint.....................................|ale-linter-options-eslint|
|
||||
4.2. phpcs......................................|ale-linter-options-phpcs|
|
||||
4.3. c-gcc......................................|ale-linter-options-c-gcc|
|
||||
4.4. cpp-gcc....................................|ale-linter-options-cpp-gcc|
|
||||
5. API............................................|ale-api|
|
||||
6. Contact........................................|ale-contact|
|
||||
|
||||
@@ -42,6 +43,7 @@ The following languages and tools are supported.
|
||||
* Bash: 'shell' (-n flag), 'shellcheck'
|
||||
* Bourne Shell: 'shell' (-n flag), 'shellcheck'
|
||||
* C: 'gcc'
|
||||
* C++ (filetype cpp): 'gcc'
|
||||
* CoffeeScript: 'coffelint'
|
||||
* CSS: 'csslint'
|
||||
* Cython (pyrex filetype): 'cython'
|
||||
@@ -274,6 +276,16 @@ Default: `'-Wall'`
|
||||
|
||||
This variable can be change to modify flags given to gcc.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
4.4. cpp-gcc *ale-linter-options-cpp-gcc*
|
||||
|
||||
g:ale_cpp_gcc_options *g:ale_cpp_gcc_options*
|
||||
|
||||
Type: |String|
|
||||
Default: `'-Wall'`
|
||||
|
||||
This variable can be changed to modify flags given to gcc.
|
||||
|
||||
===============================================================================
|
||||
5. API *ale-api*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user