最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Error executing vim.schedule lua callback - Stack Overflow

programmeradmin2浏览0评论

I want to be honest and brief, although I don't know English, I'm Venezuelan and I'm learning the language little by little (I hope you can understand me with the translation) I'm starting in web development. I am using ubuntu linux operating system (lubuntu), I have been configuring the Neovim code editor first, but I have an error with one of the plugins, the error is as follows:

Error executing vim.schedule lua callback: ...lugged/pletion-nvim/lua/pletion/signature_help.lua:18: attempt to index fie
ld 'resolved_capabilities' (a nil value)                                                                                       
stack traceback:                                                                                                               
        ...lugged/pletion-nvim/lua/pletion/signature_help.lua:18: in function 'autoOpenSignatureHelp'                    
        .../.vim/plugged/pletion-nvim/lua/pletion.lua:199: in function ''                                        
        vim/_editor.lua: in function <vim/_editor.lua:0>

That plugin is for code pletion in javascript.

I hope a solution to not start from scratch please, I am a beginner and I really want to learn programming

I want to be honest and brief, although I don't know English, I'm Venezuelan and I'm learning the language little by little (I hope you can understand me with the translation) I'm starting in web development. I am using ubuntu linux operating system (lubuntu), I have been configuring the Neovim code editor first, but I have an error with one of the plugins, the error is as follows:

Error executing vim.schedule lua callback: ...lugged/pletion-nvim/lua/pletion/signature_help.lua:18: attempt to index fie
ld 'resolved_capabilities' (a nil value)                                                                                       
stack traceback:                                                                                                               
        ...lugged/pletion-nvim/lua/pletion/signature_help.lua:18: in function 'autoOpenSignatureHelp'                    
        .../.vim/plugged/pletion-nvim/lua/pletion.lua:199: in function ''                                        
        vim/_editor.lua: in function <vim/_editor.lua:0>

That plugin is for code pletion in javascript.

I hope a solution to not start from scratch please, I am a beginner and I really want to learn programming

Share Improve this question edited Aug 9, 2022 at 7:46 vimuth 5,68249 gold badges93 silver badges125 bronze badges asked Aug 8, 2022 at 22:02 YobetaYobeta 411 gold badge1 silver badge2 bronze badges
Add a ment  | 

2 Answers 2

Reset to default 3

Judging from the error message, it seems you are following some obsolete blog posts on configuring neovim, since you are using pletion-nvim, which is already archived.

For auto-pletion, the new norm is the following:

  • Install nvim-lspconfig (the helper plugin to help the users use the nvim builtin LSP) and the language server for your programming language
  • Install nvim-cmp (the pletion engine) and related plugins

If you are not familiar with all of this, you may try lunarvim or nvchad, which are the two most popular nvim pre-configs.

I had the same problem for me there was a "nvim-data" folder in AppData/Local/nvim-data.

I deleted that folder and reinstall nvim. It solved my problem

发布评论

评论列表(0)

  1. 暂无评论