Add auto-fixer for crystal (#4016)

This commit is contained in:
Alex Piechowski authored and GitHub committed 2021-12-28 20:23:57 +09:00
1 parent dcec4b3c37
commit 48f68598cb
3 files changed
+52

No files matched your search

+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'],