运行时出现以下错误:PlugInstall
Error detected while processing function <SNR>3_job_handler:
E121: Undefined variable: self
Run Code Online (Sandbox Code Playgroud)
插件安装永远不会完成.
我的.vimrc的一部分
set nocompatible
set hidden
set nowrap
set termguicolors
filetype on
map <c-l> :tabn<cr>
map <c-h> :tabp<cr>
map <c-n> :tabnew<cr>
call plug#begin('~/.vim/plugged')
....
"typescript
Plug 'mhartington/nvim-typescript'
call plug#end()
Run Code Online (Sandbox Code Playgroud)
我不得不更新vim-plug
我跑了
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
Run Code Online (Sandbox Code Playgroud)
它现在工作正常