Vim config updates
This commit is contained in:
parent
e42661347d
commit
df622f96af
File diff suppressed because it is too large
Load Diff
2263
.vim/autoload/plug.vim.old
Normal file
2263
.vim/autoload/plug.vim.old
Normal file
File diff suppressed because it is too large
Load Diff
6
.vimrc
6
.vimrc
@ -20,7 +20,7 @@ Plug 'airblade/vim-gitgutter'
|
||||
|
||||
" Undo {{{1
|
||||
Plug 'simnalamburt/vim-mundo'
|
||||
nnoremap <F3> :GundoToggle<CR>
|
||||
nnoremap <F3> :MundoToggle<CR>
|
||||
|
||||
" NERDTree {{{1
|
||||
Plug 'scrooloose/nerdtree'
|
||||
@ -42,7 +42,7 @@ let g:ctrlp_user_command = {
|
||||
\ }
|
||||
|
||||
" YouCompleteMe {{{1
|
||||
Plug 'Valloric/YouCompleteMe', { 'do': './install.py' }
|
||||
Plug 'Valloric/YouCompleteMe', { 'do': './install.py --gocode-compiler' }
|
||||
let g:ycm_complete_in_strings = 0
|
||||
let g:ycm_collect_identifiers_from_tags_files = 1
|
||||
let g:ycm_seed_identifiers_with_syntax = 1
|
||||
@ -113,6 +113,8 @@ au FileType go nmap <Leader>gi <Plug>(go-info)
|
||||
au FileType go nmap <Leader>gl <Plug>(go-metalinter)
|
||||
let g:go_auto_type_info = 0
|
||||
let g:go_fmt_command = "goimports"
|
||||
let g:go_metalinter_autosave = 1
|
||||
let g:go_metalinter_autosave_enabled = ['vet', 'golint', 'errcheck', 'varcheck', 'ineffassign']
|
||||
let g:go_metalinter_enabled = ['vet', 'golint', 'errcheck', 'varcheck', 'aligncheck', 'ineffassign']
|
||||
"let g:go_metalinter_enabled = ['vet', 'golint', 'errcheck', 'varcheck', 'aligncheck', 'dupl', 'ineffassign']
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user