pappasam / nvim-repl

52 stars 12 forks source link

[FIX]: the bug when using powershell as default shell will lead crush #18

Closed ACupofAir closed 1 year ago

ACupofAir commented 1 year ago

Why Changes

In neovim, the default shell set as powershell(vim.opt.shell="powershell"). It has some thing error when try to open term with args. reproduce: firstly, set shell=powershell; then:vsp|term ipython. The term winodws will don't open ipython rightly. But when shell set to cmd, the problem will don't appeal. I guess may be the powershell is a pamameter for cmd, and it can't handle any args more after termopen for it had token 'powershell' as its arg.

Changes

pappasam commented 1 year ago

lgtm, thanks!