summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorDavíð Guðni <davidh@tempo.io>2018-08-23 17:17:00 +0000
committerDavíð Guðni <davidh@tempo.io>2018-08-24 09:04:17 +0000
commitf526fc68d11788bd45d1c78112168b855e923c04 (patch)
tree24d024d44af333418441c7500de69c7cd5302022 /autoload
parenta366d325a7c69fa20a3ab69ff8359bcd37d1487a (diff)
downloadale-f526fc68d11788bd45d1c78112168b855e923c04.zip
importjs fixer not reading correct executable variable name
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/fixers/importjs.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/autoload/ale/fixers/importjs.vim b/autoload/ale/fixers/importjs.vim
index e8eedb12..50d3d74e 100644
--- a/autoload/ale/fixers/importjs.vim
+++ b/autoload/ale/fixers/importjs.vim
@@ -1,7 +1,7 @@
" Author: Jeff Willette <jrwillette88@gmail.com>
" Description: Integration of importjs with ALE.
-call ale#Set('js_importjs_executable', 'importjs')
+call ale#Set('javascript_importjs_executable', 'importjs')
function! ale#fixers#importjs#ProcessOutput(buffer, output) abort
let l:result = ale#util#FuzzyJSONDecode(a:output, [])
@@ -9,7 +9,7 @@ function! ale#fixers#importjs#ProcessOutput(buffer, output) abort
endfunction
function! ale#fixers#importjs#Fix(buffer) abort
- let l:executable = ale#Var(a:buffer, 'js_importjs_executable')
+ let l:executable = ale#Var(a:buffer, 'javascript_importjs_executable')
if !executable(l:executable)
return 0