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

2 views
Skip to first unread message

Christian Brabandt

unread,
Oct 29, 2025, 4:15:18 PMOct 29
to vim...@googlegroups.com
runtime(compiler): Fix escaping in Windows shell command for tombi

Commit: https://github.com/vim/vim/commit/14e7203713567761c37be3bf182e5669e11041e1
Author: Konfekt <Kon...@users.noreply.github.com>
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 <Kon...@users.noreply.github.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

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
Reply all
Reply to author
Forward
0 new messages