diff --git a/langs/javascript.vim b/langs/javascript.vim index 3c53910..888689e 100644 --- a/langs/javascript.vim +++ b/langs/javascript.vim @@ -4,7 +4,7 @@ Plug 'MaxMEllon/vim-jsx-pretty' Plug 'pangloss/vim-javascript' if has('nvim') - Plug 'ncm2/ncm2-tern', { 'do': 'npm install' } + Plug 'ncm2/ncm2-tern', { 'do': 'npm install && npm install -g tern' } endif " Extra setup