This package provides integration of neovim as an external editor in Unity.
git clone https://github.com/the-argus/com.unity.ide.neovim.git
Open Unity. Go to Window > Package Manager and select the "+" sign at the top
left of the window. From the dropdown, select "Add package from disk". Browse
and select the package.json
file at the root of this repo.
Go to Edit > Preferences > External Tools.
Set "External Script Editor" to "Neovim" in the dropdown menu. If it's not
present, then select "browse" and select the file run.sh
at the root of
this repo.
It's necessary to customize the nvim-remote
file to fit your needs. Open it and
make sure the term_exec
variable matches your own terminal emulator.
Sometimes using this with flatpak requires you to run
sudo flatpak override com.unity.UnityHub --talk-name=org.freedesktop.Flatpak
.