-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server does not run due to empty g:nvim_ghost_binary_path #68
Comments
What do these return?
Also, what's the output of |
empty string
NVIM v0.10.2 |
Moreover doing |
.... this is perplexing. what's the output of echo "a/b/c/" .. "a-b-c"
echo g:nvim_ghost_installation_dir
echo g:nvim_ghost_installation_dir .. "HI"
echo g:nvim_ghost_installation_dir .. "nvim-ghost-binary" |
I cloned The server does run at expected. When I manually run |
a/b/c/a-b-c
/home/touny/.local/share/nvim/lazy/nvim-ghost.nvim/
/home/touny/.local/share/nvim/lazy/nvim-ghost.nvim/HI
empty string |
Also note |
To fix the server startup, I modified file |
I think you should modify |
Hello,
If I manually run
nvim-ghost-binary
the server runs and everything works as expected. However, whenever I launch neovim and loadnvim-ghost
I get error message "could not connect to localhost:4001". When I debugged I figured out:echo g:nvim_ghost_installation_dir
returns the correct installation path butnvim_ghost_binary_path
returns the empty string. When I attempted to manually setnvim_ghost_binary_path
to the path of binary file, I would still get an empty string. Any other string can be set tonvim_ghost_binary_path
.In my
init.lua
I havevim.g.nvim_ghost_binary_path = "/home/touny/.local/share/nvim/lazy/nvim-ghost.nvim/nvim-ghost-binary"
and
echo g:nvim_ghost_binary_path
returns the empty string.The text was updated successfully, but these errors were encountered: