Skip to content

Commit

Permalink
Merge pull request #2050 from bhcleek/change-gococde-propose-source-d…
Browse files Browse the repository at this point in the history
…efault

disable proposing source by default
  • Loading branch information
bhcleek authored Nov 10, 2018
2 parents 5a8b52f + 2c15ddc commit 955a4df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion autoload/go/config.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion doc/vim-go.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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'*

Expand Down

0 comments on commit 955a4df

Please sign in to comment.