From 98ba9c78a602ac0f6c2edb18d548308d75d29d87 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 10 Jul 2021 10:34:13 +0300 Subject: Added vim support for golang --- .vimrc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index e3f2a72..bdb1c42 100644 --- a/.vimrc +++ b/.vimrc @@ -28,6 +28,7 @@ Plug 'OrangeT/vim-csharp' Plug 'neovimhaskell/haskell-vim' Plug 'davidhalter/jedi-vim' + Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' } call plug#end() " }}} @@ -356,6 +357,20 @@ let b:ale_linters = ['cs'] " }}} +" vim-go {{{ + let g:go_highlight_extra_types = 1 + let g:go_highlight_space_tab_error = 1 + let g:go_highlight_trailing_whitespace_error = 1 + let g:go_highlight_operators = 1 + let g:go_highlight_functions = 1 + let g:go_highlight_function_parameters = 1 + let g:go_highlight_function_calls = 1 + let g:go_highlight_types = 1 + let g:go_highlight_fields = 1 + let g:go_highlight_variable_declarations = 1 + let g:go_highlight_variable_assignments = 1 +" }}} + " OmniSharp settings {{{ let g:syntastic_cs_checkers = ['code_checker'] -- cgit v1.2.3