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:
parent
cc4d4a421d
commit
8bf4b2c95d
1 changed files with 8 additions and 0 deletions
8
vimrc
8
vimrc
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue