mirror of
https://github.com/neovim/neovim.git
synced 2025-11-14 22:39:08 +00:00
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
14e7203713
Co-authored-by: Konfekt <Konfekt@users.noreply.github.com>
This commit is contained in:
@@ -44,7 +44,7 @@ if s:tombi_nocolor
|
|||||||
if &shell =~# '\v<%(cmd|cmd)>'
|
if &shell =~# '\v<%(cmd|cmd)>'
|
||||||
CompilerSet makeprg=set\ NO_COLOR=1\ &&\ tombi\ lint
|
CompilerSet makeprg=set\ NO_COLOR=1\ &&\ tombi\ lint
|
||||||
elseif &shell =~# '\v<%(powershell|pwsh)>'
|
elseif &shell =~# '\v<%(powershell|pwsh)>'
|
||||||
CompilerSet makeprg=$env:NO_COLOR="1";\ tombi\ lint
|
CompilerSet makeprg=$env:NO_COLOR=\"1\";\ tombi\ lint
|
||||||
else
|
else
|
||||||
echoerr "tombi compiler: Unsupported shell for Windows"
|
echoerr "tombi compiler: Unsupported shell for Windows"
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user