installation instructions并没有提到是否需要Python或者特定的Python插件。虽然当我将coc.nvim添加到我的vim插件(Plug 'neoclide/coc.nvim', {'branch': 'release'})中,安装并重新启动Neovim时,我得到了以下错误:
[coc.nvim] Error on execute python script: request error nvim_command - Vim(pyxfile):E319: No "python3" provider found. Run ":checkhealth provider"我是一个长期的VIM/Neovim用户,并且安装了我的插件,没有一个依赖于第三方Python脚本,我想保持这种方式。
所以我的问题是,coc.nvim需要Python吗?还是我这端有什么配置错误?
发布于 2020-09-20 17:51:30
您使用的是https://github.com/neoclide/coc-snippets,它将加载和解析Ultisnips代码片段,一些代码片段需要Python才能运行。
您可以通过在您的coc-settings.json中设置"snippets.ultisnips.usePythonx": false来禁用Python。
发布于 2021-08-29 05:05:19
我使用"snippets.ultisnips.usePythonx": false并在我的虚拟环境中运行pip install neovim解决了这个问题。
https://stackoverflow.com/questions/63969277
复制相似问题