mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-17 16:45:11 +08:00
change ale to use value of g:ale_shell regardless of what it is
This commit is contained in:
@@ -26,7 +26,7 @@ Before:
|
||||
augroup END
|
||||
|
||||
if !has('win32')
|
||||
let g:ale_shell = '/bin/bash'
|
||||
let &shell = '/bin/bash'
|
||||
endif
|
||||
|
||||
call ale#test#SetDirectory('/testplugin/test')
|
||||
|
||||
@@ -31,6 +31,6 @@ Execute(Command formatting should be applied correctly for LSP linters):
|
||||
\ g:args
|
||||
else
|
||||
AssertEqual
|
||||
\ ['true', [g:ale_shell, '-c', '''true'' --foo']],
|
||||
\ ['true', [&shell, '-c', '''true'' --foo']],
|
||||
\ g:args
|
||||
endif
|
||||
|
||||
@@ -4,7 +4,7 @@ Before:
|
||||
|
||||
After:
|
||||
Restore
|
||||
let g:ale_shell = &shell
|
||||
let g:ale_shell = v:null
|
||||
|
||||
Execute(sh should be used when the shell is fish):
|
||||
if !has('win32')
|
||||
|
||||
Reference in New Issue
Block a user