runtime(compiler): Fix escaping in Windows shell command for tombi

Commit: 
https://github.com/vim/vim/commit/14e7203713567761c37be3bf182e5669e11041e1
Author: Konfekt <[email protected]>
Date:   Wed Oct 29 20:11:57 2025 +0000

    runtime(compiler): Fix escaping in Windows shell command for tombi
    
    As observed by Doug Kearns
    
    related: #18590
    closes: #18661
    
    Signed-off-by: Konfekt <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/runtime/compiler/tombi.vim b/runtime/compiler/tombi.vim
index bab95ba24..1bf00044e 100644
--- a/runtime/compiler/tombi.vim
+++ b/runtime/compiler/tombi.vim
@@ -44,7 +44,7 @@ if s:tombi_nocolor
     if &shell =~# ' <%(cmd|cmd)>'
       CompilerSet makeprg=set\ NO_COLOR=1\ &&\ tombi\ lint
     elseif &shell =~# ' <%(powershell|pwsh)>'
-      CompilerSet makeprg=$env:NO_COLOR="1";\ tombi\ lint
+      CompilerSet makeprg=$env:NO_COLOR=\"1\";\ tombi\ lint
     else
       echoerr "tombi compiler: Unsupported shell for Windows"
     endif

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1vECZX-00ARST-TL%40256bit.org.

Raspunde prin e-mail lui