Skip to content

Commit 4217461

Browse files
authored
fix issue 5037. "/s/c/" to "/s/c" (#5043)
a bug on windows. link: #5037
1 parent 528e259 commit 4217461

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/ale/lsp.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ function! ale#lsp#StartProgram(conn_id, executable, command) abort
531531
if g:ale_use_neovim_lsp_api && !l:conn.is_tsserver
532532
" For Windows from 'cmd /s/c "foo bar"' we need 'foo bar'
533533
let l:lsp_cmd = has('win32') && type(a:command) is v:t_string
534-
\ ? ['cmd', '/s/c/', a:command[10:-2]]
534+
\ ? ['cmd', '/s/c', a:command[10:-2]]
535535
\ : a:command
536536

537537
" Always call lsp.start, which will either create or re-use a

0 commit comments

Comments
 (0)