Skip to content
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

Not an editor command: LspStop #7

Closed
martin-braun opened this issue Apr 16, 2023 · 5 comments
Closed

Not an editor command: LspStop #7

martin-braun opened this issue Apr 16, 2023 · 5 comments

Comments

@martin-braun
Copy link

When I toggle the hex view it works, but when going from hex view to normal view I get:

Error executing Lua callback: ...are/nvim/site/pack/packer/opt/hex.nvim/lua/hex/utils.lua:17: Vim:E492: Not an editor command: LspStop
stack traceback:
        [C]: in function 'cmd'
        ...are/nvim/site/pack/packer/opt/hex.nvim/lua/hex/utils.lua:17: in function 'dump_to_hex'
        ...cal/share/nvim/site/pack/packer/opt/hex.nvim/lua/hex.lua:31: in function 'dump'
        ...cal/share/nvim/site/pack/packer/opt/hex.nvim/lua/hex.lua:47: in function <...cal/share/nvim/site/pack/packer/opt/hex.nvim/lua/hex.lu
a:45>
@RaafatTurki
Copy link
Owner

Ah, this was a FIXME that was collecting dust, new update should fix this

@martin-braun
Copy link
Author

Now I get:

Error executing Lua callback: vim/_editor.lua:0: nvim_exec2(): Vim:E492: Not an editor command: LspStop
stack traceback:
        [C]: in function 'nvim_exec2'
        vim/_editor.lua: in function 'cmd'
        ...are/nvim/site/pack/packer/opt/hex.nvim/lua/hex/utils.lua:17: in function 'dump_to_hex'
        ...cal/share/nvim/site/pack/packer/opt/hex.nvim/lua/hex.lua:31: in function 'dump'
        ...cal/share/nvim/site/pack/packer/opt/hex.nvim/lua/hex.lua:47: in function <...cal/share/nvim/site/pack/packer/opt/hex.nvim/lua/hex.lu
a:45>

@loqusion
Copy link

@martin-braun It looks like you're still using the old version, try configuring your plugin manager to use the latest version and updating.

@loqusion
Copy link

On a related note, vim.lsp.buf.server_ready() was deprecated a few days ago and won't be in Nvim version 0.10.0 (See neovim/neovim#23520)

@RaafatTurki
Copy link
Owner

thanks! just updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants