From 34ddb8b1b83c1fa809ddc8f92e5d0de63f385ec2 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Thu, 30 Oct 2025 06:26:26 +0800 Subject: [PATCH] vim-patch:14e7203: runtime(compiler): Fix escaping in Windows shell command for tombi As observed by Doug Kearns related: vim/vim#18590 closes: vim/vim#18661 https://github.com/vim/vim/commit/14e7203713567761c37be3bf182e5669e11041e1 Co-authored-by: Konfekt --- runtime/compiler/tombi.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/compiler/tombi.vim b/runtime/compiler/tombi.vim index bab95ba24c..1bf00044ec 100644 --- a/runtime/compiler/tombi.vim +++ b/runtime/compiler/tombi.vim @@ -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