mirror of
https://github.com/neovim/neovim.git
synced 2026-08-19 02:24:46 -05: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 https://github.com/vim/vim/commit/14e7203713567761c37be3bf182e5669e11041e1 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)>'
|
||||
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