Support g:ale_shell with the Neovim LSP client

This commit is contained in:
w0rp
2025-03-20 16:19:24 +00:00
parent cdbd218a82
commit 2280d41b30

View File

@@ -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