Some stuff for go

This commit is contained in:
Andrew Tomaka 2016-02-22 14:04:11 -05:00
parent 303bccba6e
commit 2f1cfbad5a

4
vimrc
View file

@ -14,6 +14,7 @@ Plugin 'airblade/vim-gitgutter'
Plugin 'bronson/vim-trailing-whitespace'
Plugin 'chip/vim-fat-finger'
Plugin 'ctrlpvim/ctrlp.vim'
Plugin 'fatih/vim-go'
Plugin 'godlygeek/tabular'
Plugin 'itchyny/lightline.vim'
Plugin 'nathanaelkane/vim-indent-guides'
@ -218,6 +219,9 @@ let g:lightline = {
\ }
\ }
" go
let g:go_fmt_command = "goimports"
" Functions
" Toggle relative line numbers and cursorline; useful for long line files
function! LargeFileToggle()