Neovim自动补全时vim.schedule lua回调执行错误求助
Neovim自动补全LSP报错问题求助
一直尝试解决Neovim自动补全过程中出现的报错,但至今没找到解决方案,也搞不懂问题根源。报错信息如下:
Error executing vim.schedule lua callback: ...w/Cellar/neovim/0.8.1/share/nvim/runtime/lua/vim/lsp.lua:2018: attempt to index field 'range' (a nil value) stack traceback: ...w/Cellar/neovim/0.8.1/share/nvim/runtime/lua/vim/lsp.lua:2018: in function 'adjust_start_col' ...w/Cellar/neovim/0.8.1/share/nvim/runtime/lua/vim/lsp.lua:2094: in function 'handler' ...w/Cellar/neovim/0.8.1/share/nvim/runtime/lua/vim/lsp.lua:1383: in function '' vim/_editor.lua: in function <vim/_editor.lua:0>
这个报错看起来和LSP相关,但没有指向我配置文件里的任何文件。报错发生在自动补全过程中,但我还是能继续选择补全建议。想知道这个问题和什么有关?有没有人遇到过相同的问题?
内容的提问来源于stack exchange,提问作者Nico_dev
相关产品推荐
相关产品推荐

