Merge pull request #2228 from Nomad145/ktlint

Add ktlint Fixer Support
This commit is contained in:
w0rp authored and GitHub committed 2019-01-27 15:55:13 +00:00
commit 08d3523962
8 files changed
+135 -47

No files matched your search

+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.