You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When triggering omnicompletion with a language server that doesn't support completion a helpful message is displayed:
method textDocument/completion is not supported by any of the servers registered for the current buffer
But when nvim-notify is installed it causes an error instead:
E5108: Error executing lua ....repro/plugins/nvim-notify/lua/notify/render/default.lua:18: E565: Not allowed to change text or change window
stack traceback:
[C]: in function 'nvim_buf_set_lines'
....repro/plugins/nvim-notify/lua/notify/render/default.lua:18: in function 'render'
...o/plugins/nvim-notify/lua/notify/service/buffer/init.lua:107: in function 'render'
...g/.repro/plugins/nvim-notify/lua/notify/service/init.lua:53: in function 'push'
...onfig/.repro/plugins/nvim-notify/lua/notify/instance.lua:77: in function 'notify'
...w/Cellar/neovim/0.9.1/share/nvim/runtime/lua/vim/lsp.lua:1963: in function 'buf_request'
...w/Cellar/neovim/0.9.1/share/nvim/runtime/lua/vim/lsp.lua:2140: in function <...w/Cellar/neovim/0.9.1/share/nvim/runtime/lua/vim/lsp.lua:2113>
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/opt/homebrew/Cellar/neovim/0.9.1/share/nvim"
Run :checkhealth for more info
The text was updated successfully, but these errors were encountered:
heygarrett
changed the title
E565: Not allow to change text or change window when triggering omnicompletion with a language server that doesn't support completionE565: Not allowed to change text or change window when triggering omnicompletion with a language server that doesn't support completion
Jun 23, 2023
BTW it may have some unwanted consequence, e.g., the ordering of async events can be slightly different than the invocation was made, due to vim.schedule.
When triggering omnicompletion with a language server that doesn't support completion a helpful message is displayed:
But when nvim-notify is installed it causes an error instead:
Minimal repro.lua config:
Steps to reproduce:
nvim -u repro.lua config.fish
(I'm using a fish file)<c-x><c-o>
Expected behavior:
The helpful LSP message would be displayed
Actual behavior:
Error
Additional info:
NVIM v0.9.1
Build type: Release
LuaJIT 2.1.0-beta3
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/opt/homebrew/Cellar/neovim/0.9.1/share/nvim"
Run :checkhealth for more info
The text was updated successfully, but these errors were encountered: