Merge branch 'main' into server

This commit is contained in:
murgi
2022-10-07 08:26:43 +02:00
9 changed files with 26 additions and 376 deletions

View File

@@ -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#