summaryrefslogtreecommitdiff
path: root/autoload/ale/fix/registry.vim
diff options
context:
space:
mode:
authorNikolay Zakirov <nickzakirov@gmail.com>2021-07-13 17:58:18 +0500
committerGitHub <noreply@github.com>2021-07-13 21:58:18 +0900
commit82a7e9f5889c13021ff61f8dc80b57348318c449 (patch)
tree264394ff3610f533e72baca9726eff7244ba81a4 /autoload/ale/fix/registry.vim
parentd098124e59ba38b0fcd97b41eec4a6de81bc09ab (diff)
downloadale-82a7e9f5889c13021ff61f8dc80b57348318c449.zip
add autoflake fixer (#3779)
* first attempt * added autoflake executable * added Windows executable for appveyor * delete unused files * corrected wrong sorting
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 728b6df7..45518904 100644
--- a/autoload/ale/fix/registry.vim
+++ b/autoload/ale/fix/registry.vim
@@ -17,6 +17,11 @@ let s:default_registry = {
\ 'suggested_filetypes': ['python'],
\ 'description': 'Fix import issues with autoimport.',
\ },
+\ 'autoflake': {
+\ 'function': 'ale#fixers#autoflake#Fix',
+\ 'suggested_filetypes': ['python'],
+\ 'description': 'Fix flake issues with autoflake.',
+\ },
\ 'autopep8': {
\ 'function': 'ale#fixers#autopep8#Fix',
\ 'suggested_filetypes': ['python'],