summaryrefslogtreecommitdiff
path: root/autoload/ale/fix/registry.vim
diff options
context:
space:
mode:
authorAlex Piechowski <alex@piechowski.io>2021-12-28 04:23:57 -0700
committerGitHub <noreply@github.com>2021-12-28 20:23:57 +0900
commit48f68598cb49c5711f31d9ed204a4f0fdc390330 (patch)
tree5522796651f64bbb590d1ed63e76c86f2ba17204 /autoload/ale/fix/registry.vim
parentdcec4b3c37880c0564b62b5a8e7ec424c64c8333 (diff)
downloadale-48f68598cb49c5711f31d9ed204a4f0fdc390330.zip
Add auto-fixer for crystal (#4016)
Diffstat (limited to 'autoload/ale/fix/registry.vim')
-rw-r--r--autoload/ale/fix/registry.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/autoload/ale/fix/registry.vim b/autoload/ale/fix/registry.vim
index c80d2271..7be730f4 100644
--- a/autoload/ale/fix/registry.vim
+++ b/autoload/ale/fix/registry.vim
@@ -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'],