move plugs to in file
This commit is contained in:
parent
207ec82453
commit
446243c66f
21
.vimrc
21
.vimrc
@ -49,8 +49,23 @@ endif
|
|||||||
|
|
||||||
let g:airline#extensions#ale#enabled = 1
|
let g:airline#extensions#ale#enabled = 1
|
||||||
|
|
||||||
" PLUGINS =============================
|
" AUTO INSTALL OF PLUG DEP =============================
|
||||||
if filereadable(expand("~/.vimrc.plug"))
|
let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.vim'
|
||||||
source ~/.vimrc.plug
|
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'
|
||||||
|
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" PLUGINS =============================
|
||||||
|
call plug#begin('~/.vim/plugged')
|
||||||
|
|
||||||
|
Plug 'scrooloose/nerdtree' " file tree
|
||||||
|
Plug 'tpope/vim-fugitive' " Fugitive Vim Github Wrapper
|
||||||
|
Plug 'vim-airline/vim-airline' " status line
|
||||||
|
Plug 'jiangmiao/auto-pairs' " Auto-complete pairs
|
||||||
|
Plug 'alvan/vim-closetag' " Auto-close HTML tags
|
||||||
|
Plug 'prabirshrestha/vim-lsp'
|
||||||
|
Plug 'dense-analysis/ale'
|
||||||
|
|
||||||
|
call plug#end()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user