Update vim config with new plugins
This commit is contained in:
parent
d7f0cfed73
commit
83d8610df4
2 changed files with 10 additions and 4 deletions
|
@ -1,4 +1,5 @@
|
|||
source ~/.vimrc
|
||||
set inccommand=nosplit
|
||||
|
||||
lua << EOF
|
||||
require'lspconfig'.phpactor.setup{}
|
||||
|
|
13
.vimrc
13
.vimrc
|
@ -1,15 +1,18 @@
|
|||
call plug#begin('~/.vim/plugged')
|
||||
Plug 'neovim/nvim-lspconfig'
|
||||
Plug 'easymotion/vim-easymotion'
|
||||
Plug 'adelarsq/vim-matchit'
|
||||
Plug 'bronson/vim-trailing-whitespace'
|
||||
Plug 'tpope/vim-surround'
|
||||
Plug 'arnaud-lb/vim-php-namespace', {'for': 'php'}
|
||||
Plug 'bronson/vim-trailing-whitespace'
|
||||
Plug 'scrooloose/nerdtree'
|
||||
Plug 'Xuyuanp/nerdtree-git-plugin'
|
||||
Plug 'vim-airline/vim-airline'
|
||||
Plug 'kien/ctrlp.vim'
|
||||
Plug 'wincent/ferret'
|
||||
Plug 'sheerun/vim-polyglot'
|
||||
Plug 'mattn/emmet-vim'
|
||||
Plug 'justinmk/vim-sneak'
|
||||
Plug 'alvan/vim-closetag'
|
||||
Plug 'mipmip/vim-fluid'
|
||||
call plug#end()
|
||||
|
||||
"" NERDTree config
|
||||
|
@ -27,6 +30,9 @@ let g:ctrlp_max_depth=40
|
|||
let g:ctrlp_custom_ignore = 'node_modules\|DS_Store\|git'
|
||||
let g:ctrlp_show_hidden = 1
|
||||
|
||||
"" Vim Closetag
|
||||
let g:closetag_filenames = '*.xml,*.xlf,*.html,*.xhtml,*.phtml'
|
||||
|
||||
"" Vim Config
|
||||
" Some autocompletion settings.
|
||||
set completeopt+=longest,menuone,menu,preview
|
||||
|
@ -42,4 +48,3 @@ set expandtab
|
|||
set autoindent
|
||||
|
||||
let mapleader=" "
|
||||
|
||||
|
|
Loading…
Reference in a new issue