habamax / vim-godot

Use vim and godot engine to make games
MIT License
498 stars 24 forks source link

neovim error while setting it up as external editor on godot #46

Closed SpyrosMourelatos closed 2 years ago

SpyrosMourelatos commented 2 years ago

Following the steps on the last section of your readme.md titled "Setup Neovim as an external editor for Godot" I have installed neovim-remote with pip3 install neovim-remote and I configured godot to use an external editor etc. Then I am trying to open nvim on the mentioned directory with the --listen flag and an error appears on nvim : E121 undefined variable b:gitbranch Then clicking a script icon from godot fails. I have also tried to use mousepad as an external editor and it works so the fault is on nvim side.Do you have any insight? I can send any diagnostic like my nvim version my python version and os

SpyrosMourelatos commented 2 years ago

After an hour or so I fixed it instead of the commands mentioned I just run NVIM_LISTEN_ADDRESS=/tmp/nvimsocket nvim and on godot I used simply nvr