diff options
author | cyy <cyyever@outlook.com> | 2019-09-23 10:43:31 +0800 |
---|---|---|
committer | cyy <cyyever@outlook.com> | 2020-10-31 14:01:08 +0800 |
commit | 9d1a71a5cb7473e34f7ae27162de4538dbeb9cb8 (patch) | |
tree | 3f689628646ab7aad82316a5ad15d9546a892ee5 /autoload | |
parent | 983c7e880523de3b18e42f1405ba2d3ba6509960 (diff) | |
download | ale-9d1a71a5cb7473e34f7ae27162de4538dbeb9cb8.zip |
add doc and test
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/ale/fix/registry.vim | 2 | ||||
-rw-r--r-- | autoload/ale/fixers/fish_indent.vim | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/autoload/ale/fix/registry.vim b/autoload/ale/fix/registry.vim index ed3339c9..f8c04aef 100644 --- a/autoload/ale/fix/registry.vim +++ b/autoload/ale/fix/registry.vim @@ -183,7 +183,7 @@ let s:default_registry = { \ 'fish_indent': { \ 'function': 'ale#fixers#fish_indent#Fix', \ 'suggested_filetypes': ['fish'], -\ 'description': 'Fix fish shell scripts with fish_indent.', +\ 'description': 'Format fish scripts using fish_indent.', \ }, \ 'gofmt': { \ 'function': 'ale#fixers#gofmt#Fix', diff --git a/autoload/ale/fixers/fish_indent.vim b/autoload/ale/fixers/fish_indent.vim index 215a14ec..98572e47 100644 --- a/autoload/ale/fixers/fish_indent.vim +++ b/autoload/ale/fixers/fish_indent.vim @@ -1,12 +1,12 @@ " Author: Chen YuanYuan <cyyever@outlook.com> " Description: Integration of fish_indent with ALE. -call ale#Set('fish_indent_executable', 'fish_indent') -call ale#Set('fish_indent_options', '') +call ale#Set('fish_fishindent_executable', 'fish_indent') +call ale#Set('fish_fishindent_options', '') function! ale#fixers#fish_indent#Fix(buffer) abort - let l:executable = ale#Var(a:buffer, 'fish_indent_executable') - let l:options = ale#Var(a:buffer, 'fish_indent_options') + let l:executable = ale#Var(a:buffer, 'fish_fishindent_executable') + let l:options = ale#Var(a:buffer, 'fish_fishindent_options') let l:filename = ale#Escape(bufname(a:buffer)) return { |