Open dstein64 opened 3 years ago
Bummer!
is there any way to fix this? did you find a solution?
"did you find a solution?"
I thought this question might be directed towards me, as I created the ticket.
I haven't faced the problem myself, as I use Vim to play vimgolf
. I opened the ticket since I thought there would be users affected by Neovim's removal of -Z
.
As a temporary solution I'm using a wrapper:
#!/bin/bash
exec nvim -n --noplugin -i NONE +0 -u "${@:(-6):1}" -W "${@:(-2):1}" "${@:(-1)}"
That said, I do think it's cheating if your solution doesn't work on vim.
The next Neovim release, version 0.5, removes the
-Z
flag (restricted mode), which vimgolf uses to disable the use of external shell commands and other functionality.This will break vimgolf for users that use Neovim (Issue #162, PR #246) with e.g.,
GOLFVIM=nvim
.