From 4217461c4859c4fac31ce3d2e22574218f244cf5 Mon Sep 17 00:00:00 2001 From: Shigma <97341183+shigma1379@users.noreply.github.com> Date: Sat, 6 Sep 2025 15:36:44 +0800 Subject: [PATCH] fix issue 5037. "/s/c/" to "/s/c" (#5043) a bug on windows. link: https://github.com/dense-analysis/ale/issues/5037 --- autoload/ale/lsp.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/ale/lsp.vim b/autoload/ale/lsp.vim index 07b073f8..b0b54c8b 100644 --- a/autoload/ale/lsp.vim +++ b/autoload/ale/lsp.vim @@ -531,7 +531,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') && type(a:command) is v:t_string - \ ? ['cmd', '/s/c/', a:command[10:-2]] + \ ? ['cmd', '/s/c', a:command[10:-2]] \ : a:command " Always call lsp.start, which will either create or re-use a