Skip to content

prabirshrestha/asyncomplete-gocode.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Go source for asyncomplete.vim via gocode

Provide Go autocompletion source for asyncomplete.vim via gocode

Installing

Plug 'prabirshrestha/asyncomplete.vim'
Plug 'prabirshrestha/asyncomplete-gocode.vim'

Registration

call asyncomplete#register_source(asyncomplete#sources#gocode#get_source_options({
    \ 'name': 'gocode',
    \ 'allowlist': ['go'],
    \ 'completor': function('asyncomplete#sources#gocode#completor'),
    \ 'config': {
    \    'gocode_path': expand('~/go/bin/gocode')
    \  },
    \ }))

Note: config is optional. gocode_path defaults to gocode i.e., gocode binary should exist in the PATH if config is not specified.

Credits

About

provides go autocomplete for asyncomplete.vim via gocode

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published