This is my first issue ever written so please correct me if I'm formatting something wrong.
I am a Windows 10 user with Neovim 0.5.0. Everything was working great with blamer.nvim, until I added the line set shell=powershell.exe in my vimrc. Seems like there are some differences between cmd.exe and powershell.exe, which made blamer stop working and return this:
[blamer.nvim] An unknown element "" was received. This can happen if the remote process closed or ended abnormally.
This line is printed in the command line with Press ENTER or type command to continue below, so I'm basically unable to do any more operations before pressing ENTER and that makes Neovim unusable. Currently I deleted the line of setting the shell to powershell.
I also found this issue from vim-gitgutter that seems to have fixed the exact same problem by somehow forcing use of cmd.exe in the plugin. Maybe it would be simply a few more lines of code for the developer to add in? I know pretty much nothing about Vimscript so I don't know which part of the commit to add and where to add.
Hello @zhengrc19 . We don't use Windows so it is impossible to implement a fix and test it.
But if anyone wants to try and fix it we will accept a pull request :)
This is my first issue ever written so please correct me if I'm formatting something wrong.
I am a Windows 10 user with Neovim 0.5.0. Everything was working great with blamer.nvim, until I added the line
set shell=powershell.exe
in my vimrc. Seems like there are some differences betweencmd.exe
andpowershell.exe
, which made blamer stop working and return this:This line is printed in the command line with
Press ENTER or type command to continue
below, so I'm basically unable to do any more operations before pressing ENTER and that makes Neovim unusable. Currently I deleted the line of setting the shell to powershell.I also found this issue from vim-gitgutter that seems to have fixed the exact same problem by somehow forcing use of
cmd.exe
in the plugin. Maybe it would be simply a few more lines of code for the developer to add in? I know pretty much nothing about Vimscript so I don't know which part of the commit to add and where to add.