Merge pull request #2228 from Nomad145/ktlint

Add ktlint Fixer Support
This commit is contained in:
w0rp
2019-01-27 15:55:13 +00:00
committed by GitHub
8 changed files with 135 additions and 47 deletions
+5
View File
@@ -275,6 +275,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.