This commit is contained in:
Adam Stankiewicz
2020-09-22 17:16:27 +02:00
parent 06548fe617
commit 6f0c50457f
6 changed files with 91 additions and 46 deletions

View File

@@ -572,6 +572,10 @@ function! go#config#GoplsOptions() abort
return get(g:, 'go_gopls_options', ['-remote=auto'])
endfunction
function! go#config#FillStructMode() abort
return get(g:, 'go_fillstruct_mode', 'fillstruct')
endfunction
" Set the default value. A value of "1" is a shortcut for this, for
" compatibility reasons.
if exists("g:go_gorename_prefill") && g:go_gorename_prefill == 1