glacambre / firenvim

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

fix: add uninstall on host side from WSL (#1576) #1581

Closed xudyang1 closed 5 months ago

xudyang1 commented 5 months ago

The uninstallation logic is similar to firenvim#install:

At first, is_wsl is set to false, even on WSL. This lets us uninstall firenvim on the wsl side. Then, we set is_wsl to true if we're on wsl and launch firenvim#uninstall again, uninstalling things on the host side.

glacambre commented 5 months ago

This is great, thanks for the PR!