Add auto-fixer for crystal (#4016)

This commit is contained in:
Alex Piechowski
2021-12-28 04:23:57 -07:00
committed by GitHub
parent dcec4b3c37
commit 48f68598cb
3 changed files with 52 additions and 0 deletions
+5
View File
@@ -431,6 +431,11 @@ let s:default_registry = {
\ 'suggested_filetypes': ['hcl', 'terraform'],
\ 'description': 'Fix tf and hcl files with terraform fmt.',
\ },
\ 'crystal': {
\ 'function': 'ale#fixers#crystal#Fix',
\ 'suggested_filetypes': ['cr'],
\ 'description': 'Fix cr (crystal).',
\ },
\ 'ktlint': {
\ 'function': 'ale#fixers#ktlint#Fix',
\ 'suggested_filetypes': ['kt', 'kotlin'],