commit 34ddb8b1b83c1fa809ddc8f92e5d0de63f385ec2
parent f5762e3e17076af51aec45d9d5afafecf90b4f8c
Author: zeertzjq <zeertzjq@outlook.com>
Date: Thu, 30 Oct 2025 06:26:26 +0800
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 <Konfekt@users.noreply.github.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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