junegunn / fzf

:cherry_blossom: A command-line fuzzy finder
https://junegunn.github.io/fzf/
MIT License
65.81k stars 2.41k forks source link

Update fzf.vim - support nushell #4067

Open Jasha10 opened 4 weeks ago

Jasha10 commented 4 weeks ago

This closes #4066, adding support for nushell in the fzf plugin.

I've taken care to ensure that behavior for other shells will not be modified.

junegunn commented 3 weeks ago

You can't pass a list to system and systemlist on regular Vim. Also, when &shell is set to nu, system doesn't work at all on Vim.

set shell=nu
echo system('ls')
  " E282: Cannot read from "..."

It's a known issue: https://github.com/nushell/nushell/issues/8981