tweaked some settings for vim-go
parent
92f5cc73fe
commit
f56a5284b7
3
.vimrc
3
.vimrc
|
|
@ -174,9 +174,10 @@ let g:go_highlight_methods = 1
|
|||
let g:go_highlight_structs = 1
|
||||
let g:go_highlight_operators = 1
|
||||
let g:go_highlight_build_constraints = 1
|
||||
let g:go_highlight_extra_types = 1
|
||||
let g:go_fmt_command = "goimports"
|
||||
|
||||
"
|
||||
" rename symbol
|
||||
au FileType go nmap <Leader>r <Plug>(go-rename)
|
||||
|
||||
" show type info
|
||||
|
|
|
|||
Loading…
Reference in New Issue