plugins - Added vim-go

This commit is contained in:
Emmanuel BENOîT 2023-06-24 15:45:14 +02:00
parent a9b19694d1
commit 588d663a76
No known key found for this signature in database
GPG key ID: 2356DC6956CF54EF
4 changed files with 46 additions and 5 deletions

14
plugins/vim-go.cfg.vim Normal file
View file

@ -0,0 +1,14 @@
" Terminal support
let g:go_term_enabled = 1
let g:go_term_mode = "split"
let g:go_term_height = 15
" Highlighting
let g:go_highlight_functions = 1
let g:go_highlight_function_calls = 1
let g:go_highlight_structs = 1
let g:go_highlight_operators = 1
let g:go_highlight_build_constraints = 1
" Formatting
let g:go_fmt_command = 'gopls'