add cmake-format fixer support (#2244)

This commit is contained in:
Attila Maczak
2019-01-27 06:45:57 -05:00
committed by w0rp
parent e46c17e8ef
commit d7ced31fe2
6 changed files with 84 additions and 2 deletions

View File

@@ -145,6 +145,11 @@ let s:default_registry = {
\ 'suggested_filetypes': ['c', 'cpp'],
\ 'description': 'Fix C/C++ files with clang-format.',
\ },
\ 'cmakeformat': {
\ 'function': 'ale#fixers#cmakeformat#Fix',
\ 'suggested_filetypes': ['cmake'],
\ 'description': 'Fix CMake files with cmake-format.',
\ },
\ 'gofmt': {
\ 'function': 'ale#fixers#gofmt#Fix',
\ 'suggested_filetypes': ['go'],