Merge branch 'main' into server
This commit is contained in:
@@ -2,6 +2,8 @@ set nocompatible
|
||||
filetype off
|
||||
|
||||
" Plugins
|
||||
" Note: on most systems, this will make the plugins reside in \
|
||||
" ~/.local/share/nvim/plugged/
|
||||
let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.vim'
|
||||
if empty(glob(data_dir . '/autoload/plug.vim'))
|
||||
silent execute '!curl -fLo '.data_dir.'/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
|
||||
@@ -61,6 +63,13 @@ Plug 'lervag/vimtex'
|
||||
Plug 'fatih/vim-go'
|
||||
|
||||
call plug#end()
|
||||
|
||||
" Run PlugInstall if there are missing plugins
|
||||
autocmd VimEnter * if len(filter(values(g:plugs), '!isdirectory(v:val.dir)'))
|
||||
\| PlugInstall --sync | source $MYVIMRC
|
||||
\| endif
|
||||
|
||||
|
||||
filetype plugin indent on
|
||||
set cinkeys-=0#
|
||||
|
||||
|
||||
Reference in New Issue
Block a user