Skip to content

Server does not run due to empty g:nvim_ghost_binary_path #68

Description

@mostafatouny

Hello,
If I manually run nvim-ghost-binary the server runs and everything works as expected. However, whenever I launch neovim and load nvim-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 but nvim_ghost_binary_path returns the empty string. When I attempted to manually set nvim_ghost_binary_path to the path of binary file, I would still get an empty string. Any other string can be set to nvim_ghost_binary_path.

In my init.lua I have
vim.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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions