]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(compiler): Fix escaping in Windows shell command for tombi
authorKonfekt <Konfekt@users.noreply.github.com>
Wed, 29 Oct 2025 20:11:57 +0000 (20:11 +0000)
committerChristian Brabandt <cb@256bit.org>
Wed, 29 Oct 2025 20:12:47 +0000 (20:12 +0000)
As observed by Doug Kearns

related: #18590
closes: #18661

Signed-off-by: Konfekt <Konfekt@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/compiler/tombi.vim

index bab95ba24c13f3caebec91105cb79f5194784c8f..1bf00044ecdb82af051ed63a862cd292d2224e75 100644 (file)
@@ -44,7 +44,7 @@ if s:tombi_nocolor
     if &shell =~# '\v<%(cmd|cmd)>'
       CompilerSet makeprg=set\ NO_COLOR=1\ &&\ tombi\ lint
     elseif &shell =~# '\v<%(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