JimmyHuang454 / EasyCompleteYou

A code-completion engine with easy for Vim and Neovim.
Do What The F*ck You Want To Public License
30 stars 1 forks source link

install error #3

Open shanguanma opened 1 year ago

shanguanma commented 1 year ago

I have update vim version from 8.1 to 9.0 using the below command:

sudo add-apt-repository ppa:jonathonf/vim
sudo apt-get update
sudo apt-get install vim

Then, download plug.vim

curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

then I add the below content to ~/.vimrc

call plug#begin('~/.vim/plugged')
Plug 'JimmyHuang454/EasyCompleteYou'
call plug#end()

it compiles work, but It will the below error:

Error detected while processing function <SNR>39_Open_cb[9]..<SNR>39_ECYQF[52]..<SNR>39_Input[30]..<SNR>39_Gerneral[2]..<SNR>17_DoCommand[2]..ECY2_main#GetDocumentSymbol[10]..ECY#rpc#rpc_event#call[33]..ECY#rpc#rpc_main#RPCEventsAll[4]..<SNR>21_Send[5]..ECY#rpc#ECY2_jo
#send[2]..<SNR>22_job_send:
line    1:
E716: Key not present in Dictionary: "2"
Press ENTER or type command to continue
JimmyHuang454 commented 1 year ago

抱歉晚回复你,一直都很忙。

请问是否第一次使用本插件?还是因为升级vim版本才导致这个问题的?

如果是第一次使用该插件,可能应该是因为你没用root权限打开vim,导致vim无法创建子进程。

如果你是因为升级vim导致的,请尝试删除~/.vim/plugged下的 EasyCompleteYou目录(也就是完全删除本插件)后再重新安装。

期望收到你更多的反馈!