1
0
Fork 0
mirror of https://github.com/luzifer/vim.git synced 2024-11-09 16:10:00 +00:00

Added some configuration for vim-go

This commit is contained in:
Knut Ahlers 2016-05-24 00:06:20 +02:00
parent cc4d4a421d
commit 8bf4b2c95d
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

8
vimrc
View file

@ -996,3 +996,11 @@ autocmd FileType html,markdown setlocal omnifunc=htmlcomplete#CompleteTags
autocmd FileType javascript setlocal omnifunc=javascriptcomplete#CompleteJS
autocmd FileType python setlocal omnifunc=pythoncomplete#Complete
autocmd FileType xml setlocal omnifunc=xmlcomplete#CompleteTags
"
" vim-go configuration
"
let g:go_gocode_autobuild = 1
let g:go_metalinter_deadline = "20s"
let g:go_autodetect_gopath = 0