Add ktlint fixer support.

This commit is contained in:
Michael Phillips committed 2019-01-20 19:39:47 -06:00
1 parent d1fc084b2d
commit bd1e639681
8 files changed
+135 -47

No files matched your search

+5
View File
@@ -270,6 +270,11 @@ let s:default_registry = {
\ 'suggested_filetypes': ['hcl', 'terraform'],
\ 'description': 'Fix tf and hcl files with terraform fmt.',
\ },
\ 'ktlint': {
\ 'function': 'ale#fixers#ktlint#Fix',
\ 'suggested_filetypes': ['kt'],
\ 'description': 'Fix Kotlin files with ktlint.',
\ },
\}
" Reset the function registry to the default entries.