Commit 381c0f29 authored by Murukesh Mohanan's avatar Murukesh Mohanan

plugin update

parent 34c40dbd
...@@ -121,6 +121,9 @@ function! plug#begin(...) ...@@ -121,6 +121,9 @@ function! plug#begin(...)
else else
return s:err('Unable to determine plug home. Try calling plug#begin() with a path argument.') return s:err('Unable to determine plug home. Try calling plug#begin() with a path argument.')
endif endif
if fnamemodify(home, ':t') ==# 'plugin' && fnamemodify(home, ':h') ==# s:first_rtp
return s:err('Invalid plug home. '.home.' is a standard Vim runtime path and is not allowed.')
endif
let g:plug_home = home let g:plug_home = home
let g:plugs = {} let g:plugs = {}
......
...@@ -144,9 +144,8 @@ if executable('cmake') ...@@ -144,9 +144,8 @@ if executable('cmake')
endif endif
if executable('go') if executable('go')
Plug 'fatih/vim-go', {'for': 'go'} Plug 'fatih/vim-go', {'for': 'go'}
"Plug 'Shougo/neocomplete.vim', {'for': 'go'} Plug 'Shougo/neocomplete.vim', {'for': 'go'}
"Plug 'Shougo/vimproc.vim', {'do': 'make'} Plug 'Shougo/echodoc.vim'
"Plug 'Shougo/echodoc.vim'
endif endif
if executable('latex') if executable('latex')
Plug 'lervag/vimtex', {'for': 'tex'} Plug 'lervag/vimtex', {'for': 'tex'}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment