|
|
@ -12,19 +12,19 @@ call plug#begin('~/.vim/plugged')
|
|
|
|
|
|
|
|
|
|
|
|
Plug 'SirVer/ultisnips'
|
|
|
|
Plug 'SirVer/ultisnips'
|
|
|
|
Plug 'editorconfig/editorconfig-vim'
|
|
|
|
Plug 'editorconfig/editorconfig-vim'
|
|
|
|
Plug 'fatih/vim-go', { 'tag': '*' }
|
|
|
|
Plug 'fatih/vim-go', { 'tag': 'v1.20' }
|
|
|
|
Plug 'hashivim/vim-hashicorp-tools'
|
|
|
|
Plug 'hashivim/vim-hashicorp-tools'
|
|
|
|
Plug 'mdempsky/gocode'
|
|
|
|
Plug 'prettier/vim-prettier', { 'tag': '0.2.7' }
|
|
|
|
Plug 'prettier/vim-prettier', { 'tag': '*' }
|
|
|
|
|
|
|
|
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
|
|
|
|
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
|
|
|
|
Plug 'vim-scripts/CSApprox'
|
|
|
|
Plug 'vim-scripts/CSApprox'
|
|
|
|
Plug 'w0rp/ale', { 'tag': '*' }
|
|
|
|
Plug 'w0rp/ale', { 'tag': '2.5.0' }
|
|
|
|
Plug 'rust-lang/rust.vim'
|
|
|
|
Plug 'rust-lang/rust.vim'
|
|
|
|
Plug 'pangloss/vim-javascript'
|
|
|
|
Plug 'pangloss/vim-javascript'
|
|
|
|
Plug 'tpope/vim-surround'
|
|
|
|
Plug 'tpope/vim-surround'
|
|
|
|
Plug 'Quramy/tsuquyomi'
|
|
|
|
Plug 'Quramy/tsuquyomi'
|
|
|
|
Plug 'sheerun/vim-wombat-scheme'
|
|
|
|
Plug 'sheerun/vim-wombat-scheme'
|
|
|
|
Plug 'leafgarland/typescript-vim'
|
|
|
|
Plug 'leafgarland/typescript-vim'
|
|
|
|
|
|
|
|
Plug 'cespare/vim-toml'
|
|
|
|
|
|
|
|
|
|
|
|
call plug#end()
|
|
|
|
call plug#end()
|
|
|
|
|
|
|
|
|
|
|
@ -84,6 +84,8 @@ let g:ale_linters = {
|
|
|
|
"\ 'javascript': ['prettier'],
|
|
|
|
"\ 'javascript': ['prettier'],
|
|
|
|
"\}
|
|
|
|
"\}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let g:rustfmt_autosave = 1
|
|
|
|
|
|
|
|
|
|
|
|
" Close all open buffers on entering a window if the only
|
|
|
|
" Close all open buffers on entering a window if the only
|
|
|
|
" buffer that's left is the NERDTree buffer
|
|
|
|
" buffer that's left is the NERDTree buffer
|
|
|
|
function! s:CloseIfOnlyNerdTreeLeft()
|
|
|
|
function! s:CloseIfOnlyNerdTreeLeft()
|
|
|
|