aboutsummaryrefslogtreecommitdiff
path: root/settings/gopls.vim
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-14 02:34:57 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-14 02:34:57 +0900
commitd61017eeb5241f889249c33f40c80d7fe268cba0 (patch)
tree27a495a6cc225fac622e09da75eb3cb0c9a27bc1 /settings/gopls.vim
parent914b9bbdca4bbe0266b796b844f6960b3d34607b (diff)
downloadvim-lsp-settings-d61017eeb5241f889249c33f40c80d7fe268cba0.tar.gz
vim-lsp-settings-d61017eeb5241f889249c33f40c80d7fe268cba0.tar.bz2
vim-lsp-settings-d61017eeb5241f889249c33f40c80d7fe268cba0.zip
Add server configs
Diffstat (limited to 'settings/gopls.vim')
-rw-r--r--settings/gopls.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/gopls.vim b/settings/gopls.vim
index eb7014a..80c180f 100644
--- a/settings/gopls.vim
+++ b/settings/gopls.vim
@@ -7,7 +7,7 @@ augroup vimlsp_settings_gopls
\ 'initialization_options': lsp_settings#get('gopls', 'initialization_options', {"diagnostics": v:true, 'completeUnimported': v:true}),
\ 'whitelist': lsp_settings#get('gopls', 'whitelist', ['go']),
\ 'blacklist': lsp_settings#get('gopls', 'blacklist', []),
- \ 'config': lsp_settings#get('gopls', 'config', {}),
+ \ 'config': lsp_settings#get('gopls', 'config', lsp_settings#server_config('gopls')),
\ 'workspace_config': lsp_settings#get('gopls', 'workspace_config', {}),
\ }
augroup END