summaryrefslogtreecommitdiffstats
path: root/autoload/go/config.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2019-12-07 12:21:37 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2019-12-07 12:21:37 +0100
commit7a0f2d974f9ac5bc85607e8c769d3370dd18ac74 (patch)
tree5c2b955af8e0f2ed54442d9e938fad403148ffce /autoload/go/config.vim
parent15aeea662e0b08088ac7b6e3ee661c834e69106a (diff)
downloadvim-polyglot-4.1.2.tar.gz
vim-polyglot-4.1.2.zip
Updatev4.1.2
Diffstat (limited to 'autoload/go/config.vim')
-rw-r--r--autoload/go/config.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/autoload/go/config.vim b/autoload/go/config.vim
index b70f7b75..9cd032f2 100644
--- a/autoload/go/config.vim
+++ b/autoload/go/config.vim
@@ -520,6 +520,10 @@ function! go#config#GoplsUsePlaceholders() abort
return get(g:, 'go_gopls_use_placeholders', 0)
endfunction
+function! go#config#GoplsEnabled() abort
+ return get(g:, 'go_gopls_enabled', 1)
+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