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

Failed to delete lines error when quitting Neovim while sumneko_lua server was loading #200

Closed
bangedorrunt opened this issue Nov 7, 2022 · 0 comments · Fixed by #639
Closed
Labels
bug Something isn't working

Comments

@bangedorrunt
Copy link

Describe the bug
Sometimes it happened when I quit Neovim in a Tmux session while sumneko_lua server was loading.

Which version of Neovim are you using?
Nightly 0.9.0

To Reproduce
I can't reliably reproduce this bug all the time, it just happened on occasion when I quit Neovim in Tmux sesion. One thing I note that this might has something to do with LSP loading its workspace

Expected Behavior
No error when quit Neovim

Screenshots

Screen Shot 2022-11-07 at 4 22 48 pm

Screen.Recording.2022-11-07.at.4.30.08.pm.mov

Noice Log
Please include any related errors from the Noice log file. (open with :Noice log)

Noice log
Mon Nov  7 16:15:43 2022
...ite/pack/packer/start/noice.nvim/lua/noice/view/init.lua:227: Failed to delete line

stack traceback:
[C]: in function 'pcall'
...ite/pack/packer/start/noice.nvim/lua/noice/util/call.lua:140: in function <...ite/pack/packer/start/noice.nvim/lua/noice/util/call.lua:139>
[C]: in function 'nvim_buf_set_lines'
...ite/pack/packer/start/noice.nvim/lua/noice/view/init.lua:227: in function 'render'
...site/pack/packer/start/noice.nvim/lua/noice/view/nui.lua:265: in function <...site/pack/packer/start/noice.nvim/lua/noice/view/nui.lua:251>
[C]: in function 'xpcall'
...ite/pack/packer/start/noice.nvim/lua/noice/util/call.lua:145: in function 'try'
...ite/pack/packer/start/noice.nvim/lua/noice/view/init.lua:123: in function 'display'
.../packer/start/noice.nvim/lua/noice/view/backend/mini.lua:88: in function 'update'
.../packer/start/noice.nvim/lua/noice/view/backend/mini.lua:58: in function <.../packer/start/noice.nvim/lua/noice/view/backend/mini.lua:57>

@bangedorrunt bangedorrunt added the bug Something isn't working label Nov 7, 2022
@folke folke closed this as completed in 9dc2508 Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant