Config dev go
This commit is contained in:
parent
dc98f73a51
commit
d72a0227d1
5
_vimrc
5
_vimrc
@ -8,6 +8,8 @@ call vundle#begin()
|
||||
Plugin 'VundleVim/Vundle.vim'
|
||||
Plugin 'scrooloose/nerdtree.git'
|
||||
Plugin 'bling/vim-airline'
|
||||
Plugin 'vim-jp/vim-go-extra'
|
||||
Plugin 'fatih/vim-go'
|
||||
|
||||
Bundle 'chase/vim-ansible-yaml'
|
||||
" }}}
|
||||
@ -127,3 +129,6 @@ call vundle#end() " required
|
||||
filetype plugin indent on " required
|
||||
" }}}
|
||||
|
||||
" Go auto-format
|
||||
autocmd FileType go autocmd BufWritePre <buffer> Fmt
|
||||
nnoremap <Leader>i :GoImports<cr>
|
||||
|
Loading…
Reference in New Issue
Block a user