chang fishindent to fish_indent

This commit is contained in:
cyy
2020-10-07 14:04:43 +07:00
parent 194660660d
commit a49f664aea
4 changed files with 15 additions and 15 deletions

View File

@@ -1,12 +1,12 @@
" Author: Chen YuanYuan <cyyever@outlook.com>
" Description: Integration of fish_indent with ALE.
call ale#Set('fish_fishindent_executable', 'fish_indent')
call ale#Set('fish_fishindent_options', '')
call ale#Set('fish_fish_indent_executable', 'fish_indent')
call ale#Set('fish_fish_indent_options', '')
function! ale#fixers#fish_indent#Fix(buffer) abort
let l:executable = ale#Var(a:buffer, 'fish_fishindent_executable')
let l:options = ale#Var(a:buffer, 'fish_fishindent_options')
let l:executable = ale#Var(a:buffer, 'fish_fish_indent_executable')
let l:options = ale#Var(a:buffer, 'fish_fish_indent_options')
let l:filename = ale#Escape(bufname(a:buffer))
return {