mirror of
https://github.com/vim/vim.git
synced 2025-11-13 22:54:27 -05:00
runtime(compiler): Fix escaping in Windows shell command for tombi
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>
This commit is contained in:
committed by
Christian Brabandt
parent
110656ba60
commit
14e7203713
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user