我的coc.vim 好像有问题

问题描述 投票:0回答:0

当我执行以下命令时

nvim hello.cpp

进入插入模式

开始编码时出现以下错误

Error detected while processing InsertCharPre Autocommands for "*"..script /home/ubuntu/.vim/plugged/ultisnips/autoload/UltiSnips.vim:
line    7:
E319: No "python3" provider found. Run ":checkhealth provider"

我尝试过很多解决方案

例如,执行

python3 -m pip install --user --upgrade pynvim
来改善我的环境

但是当我执行完

:checkhealth 
后,这就是结果

Python 3 provider (optional)
- Using:g:python3_host_prog ="/usr/local/python3.6/bin/python3"
- WARNING No Python executable found that can `import neovim`.Using the first available executable for diagnostics. 
- Executable: Not found

接下来我会尝试修改coc-stettings.json文件

添加代码片段

"snippets.ultisnips.enable": false

完全无效

我的 Neovim 版本

NVIM v0.10.0-dev-695+g58f948614

我的ubuntu版本是18.04

现在我完全不知所措,不知道该怎么办

python neovim
© www.soinside.com 2019 - 2024. All rights reserved.