Neovim error on PlugInstall <SNR>3_job_handler

Viewed 1156

Getting following error on Running :PlugInstall

Error detected while processing function <SNR>3_job_handler:
E121: Undefined variable: self

The plugin installation never completes.

Part of my .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()
3 Answers

This issue was fixed, but for some reason vim-plug hasn't released for 2 years as of writing this. If this is still true when you are reading this, make sure you are using the git master branch, not the latest release. If you are using a package manager you most likely have the outdated one.

If you're instaiing form AUR, use neovim-plug-git, not neovim-plug. :PlugUpgrade should work as well, but the issue is more likely to resurface that way.

Related