Get fixer tests to work on Windows

This commit is contained in:
w0rp committed 2017-10-01 20:23:41 +01:00
1 parent 638ca42082
commit 5091e2de45
15 files changed
+106 -68

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ function! ale#fixers#autopep8#Fix(buffer) abort
\ ['autopep8'],
\)
if !executable(l:executable)
if !ale#python#IsExecutable(l:executable)
return 0
endif
+1 -1
View File
@@ -11,7 +11,7 @@ function! ale#fixers#isort#Fix(buffer) abort
\ ['isort'],
\)
if !executable(l:executable)
if !ale#python#IsExecutable(l:executable)
return 0
endif
+4
View File
@@ -1,6 +1,10 @@
" Author: Sumner Evans <sumner.evans98@gmail.com>
" Description: Fixing files with Standard.
call ale#Set('javascript_standard_executable', 'standard')
call ale#Set('javascript_standard_use_global', 0)
call ale#Set('javascript_standard_options', '')
function! ale#fixers#standard#GetExecutable(buffer) abort
return ale#node#FindExecutable(a:buffer, 'javascript_standard', [
\ 'node_modules/standard/bin/cmd.js',