Skip to content

Commit 955a4df

Browse files
authored
Merge pull request #2050 from bhcleek/change-gococde-propose-source-default
disable proposing source by default
2 parents 5a8b52f + 2c15ddc commit 955a4df

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

autoload/go/config.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ function! go#config#GocodeProposeBuiltins() abort
149149
endfunction
150150

151151
function! go#config#GocodeProposeSource() abort
152-
return get(g:, 'go_gocode_propose_source', 1)
152+
return get(g:, 'go_gocode_propose_source', 0)
153153
endfunction
154154

155155
function! go#config#EchoCommandInfo() abort

doc/vim-go.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1622,7 +1622,7 @@ Specifies whether `gocode` should use source files instead of binary packages
16221622
for autocompletion proposals. When disabled, only identifiers from the current
16231623
package and packages that have been installed will proposed.
16241624
>
1625-
let g:go_gocode_propose_source = 1
1625+
let g:go_gocode_propose_source = 0
16261626
<
16271627
*'g:go_gocode_unimported_packages'*
16281628

0 commit comments

Comments
 (0)