add nimpretty fixer

This commit is contained in:
Bùi Thành Nhân
2019-11-09 15:34:15 +07:00
parent db6b1b5ecc
commit abad8e474b
3 changed files with 53 additions and 0 deletions

View File

@@ -54,6 +54,11 @@ let s:default_registry = {
\ 'description': 'Apply elm-format to a file.',
\ 'aliases': ['format'],
\ },
\ 'nimpretty': {
\ 'function': 'ale#fixers#nimpretty#Fix',
\ 'suggested_filetypes': ['nim'],
\ 'description': 'Apply nimpretty to a file.',
\ },
\ 'eslint': {
\ 'function': 'ale#fixers#eslint#Fix',
\ 'suggested_filetypes': ['javascript', 'typescript'],