Skip to content

Commit e2e06ce

Browse files
authored
Merge pull request fatih#1818 from bhcleek/fix-gocode-options
fix gocode option string values
2 parents 85196e9 + 983e185 commit e2e06ce

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

autoload/go/complete.vim

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ function! s:sync_gocode(cmd, args, input) abort
4343
return l:result
4444
endfunction
4545

46-
" TODO(bc): reset when gocode isn't running
4746
let s:optionsEnabled = 0
4847
function! s:gocodeEnableOptions() abort
4948
if s:optionsEnabled
@@ -63,7 +62,7 @@ function! s:gocodeEnableOptions() abort
6362
endfunction
6463

6564
function! s:toBool(val) abort
66-
if a:val | return 'true ' | else | return 'false' | endif
65+
if a:val | return 'true' | else | return 'false' | endif
6766
endfunction
6867

6968
function! s:gocodeAutocomplete() abort

0 commit comments

Comments
 (0)