diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2020-02-14 09:28:10 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2020-02-14 09:28:10 +0900 |
commit | 1ce6d4b869fa5f687e7e670823d9be3c8f4a4e34 (patch) | |
tree | 3a134a095d6c543059ca150b6e9e5f4c3f497c37 /settings | |
parent | 7a429034a442905be0f6a353ac2745c9192a0d93 (diff) | |
download | vim-lsp-settings-1ce6d4b869fa5f687e7e670823d9be3c8f4a4e34.tar.gz vim-lsp-settings-1ce6d4b869fa5f687e7e670823d9be3c8f4a4e34.tar.bz2 vim-lsp-settings-1ce6d4b869fa5f687e7e670823d9be3c8f4a4e34.zip |
Enable {'matcher': 'fuzzy'} for gopls in default
Fixes #150
Diffstat (limited to 'settings')
-rw-r--r-- | settings/gopls.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/gopls.vim b/settings/gopls.vim index 80c180f..d954040 100644 --- a/settings/gopls.vim +++ b/settings/gopls.vim @@ -4,7 +4,7 @@ augroup vimlsp_settings_gopls \ 'name': 'gopls', \ 'cmd': {server_info->lsp_settings#get('gopls', 'cmd', [lsp_settings#exec_path('gopls')])}, \ 'root_uri':{server_info->lsp_settings#get('gopls', 'root_uri', lsp_settings#root_uri(extend(['go.mod'], g:lsp_settings_root_markers)))}, - \ 'initialization_options': lsp_settings#get('gopls', 'initialization_options', {"diagnostics": v:true, 'completeUnimported': v:true}), + \ 'initialization_options': lsp_settings#get('gopls', 'initialization_options', {"diagnostics": v:true, 'completeUnimported': v:true, 'matcher': 'fuzzy'}), \ 'whitelist': lsp_settings#get('gopls', 'whitelist', ['go']), \ 'blacklist': lsp_settings#get('gopls', 'blacklist', []), \ 'config': lsp_settings#get('gopls', 'config', lsp_settings#server_config('gopls')), |