glacambre / firenvim

Embed Neovim in Chrome, Firefox & others.
GNU General Public License v3.0
4.65k stars 143 forks source link

script: attempt to use nvim from $PATH if captured binary does not exist anymore #1526

Open glacambre opened 1 year ago

glacambre commented 1 year ago

In #135, we implemented detection of homebrew in order to work around neovim potentially breaking on upgrades. We couldn't just fallback to $PATH because some linux distros offered ancient Neovim neovim versions unable to run Firenvim, which would have made debugging issues harder. Most distros now have something recent enough to run firenvim - so falling back to $PATH could be a good idea.