mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-10 05:22:31 +08:00
Support g:ale_shell with the Neovim LSP client
This commit is contained in:
@@ -518,7 +518,7 @@ function! ale#lsp#StartProgram(conn_id, executable, command) abort
|
||||
|
||||
if g:ale_use_neovim_lsp_api && !l:conn.is_tsserver
|
||||
" For Windows from 'cmd /s/c "foo bar"' we need 'foo bar'
|
||||
let l:lsp_cmd = has('win32')
|
||||
let l:lsp_cmd = has('win32') && type(a:command) is v:t_string
|
||||
\ ? ['cmd', '/s/c/', a:command[10:-2]]
|
||||
\ : a:command
|
||||
|
||||
|
||||
Reference in New Issue
Block a user