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
This commit is contained in:
Peter Renström
2017-08-24 23:49:43 +02:00
committed by w0rp
parent 623fdf212c
commit 4bea50b82f
8 changed files with 94 additions and 4 deletions
+5
View File
@@ -82,6 +82,11 @@ let s:default_registry = {
\ 'suggested_filetypes': ['php'],
\ 'description': 'Fix PHP files with phpcbf.',
\ },
\ 'clang-format': {
\ 'function': 'ale#fixers#clangformat#Fix',
\ 'suggested_filetypes': ['c', 'cpp'],
\ 'description': 'Fix C/C++ files with clang-format.',
\ },
\}
" Reset the function registry to the default entries.