diff --git a/autoload/go/config.vim b/autoload/go/config.vim index 898cf27902..d035c616b2 100644 --- a/autoload/go/config.vim +++ b/autoload/go/config.vim @@ -149,7 +149,7 @@ function! go#config#GocodeProposeBuiltins() abort endfunction function! go#config#GocodeProposeSource() abort - return get(g:, 'go_gocode_propose_source', 1) + return get(g:, 'go_gocode_propose_source', 0) endfunction function! go#config#EchoCommandInfo() abort diff --git a/doc/vim-go.txt b/doc/vim-go.txt index 864d3aa5df..8e09d8134e 100644 --- a/doc/vim-go.txt +++ b/doc/vim-go.txt @@ -1622,7 +1622,7 @@ Specifies whether `gocode` should use source files instead of binary packages for autocompletion proposals. When disabled, only identifiers from the current package and packages that have been installed will proposed. > - let g:go_gocode_propose_source = 1 + let g:go_gocode_propose_source = 0 < *'g:go_gocode_unimported_packages'*