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>
This commit is contained in:
zeertzjq
2025-10-30 06:47:52 +08:00
co-authored by Konfekt
parent f5762e3e17
commit 34ddb8b1b8
+1 -1
View 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