Some stuff for go
This commit is contained in:
parent
303bccba6e
commit
2f1cfbad5a
1 changed files with 4 additions and 0 deletions
4
vimrc
4
vimrc
|
@ -14,6 +14,7 @@ Plugin 'airblade/vim-gitgutter'
|
||||||
Plugin 'bronson/vim-trailing-whitespace'
|
Plugin 'bronson/vim-trailing-whitespace'
|
||||||
Plugin 'chip/vim-fat-finger'
|
Plugin 'chip/vim-fat-finger'
|
||||||
Plugin 'ctrlpvim/ctrlp.vim'
|
Plugin 'ctrlpvim/ctrlp.vim'
|
||||||
|
Plugin 'fatih/vim-go'
|
||||||
Plugin 'godlygeek/tabular'
|
Plugin 'godlygeek/tabular'
|
||||||
Plugin 'itchyny/lightline.vim'
|
Plugin 'itchyny/lightline.vim'
|
||||||
Plugin 'nathanaelkane/vim-indent-guides'
|
Plugin 'nathanaelkane/vim-indent-guides'
|
||||||
|
@ -218,6 +219,9 @@ let g:lightline = {
|
||||||
\ }
|
\ }
|
||||||
\ }
|
\ }
|
||||||
|
|
||||||
|
" go
|
||||||
|
let g:go_fmt_command = "goimports"
|
||||||
|
|
||||||
" Functions
|
" Functions
|
||||||
" Toggle relative line numbers and cursorline; useful for long line files
|
" Toggle relative line numbers and cursorline; useful for long line files
|
||||||
function! LargeFileToggle()
|
function! LargeFileToggle()
|
||||||
|
|
Loading…
Add table
Reference in a new issue