diff options
-rw-r--r-- | .vim/after/plugin/lsp.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.vim/after/plugin/lsp.vim b/.vim/after/plugin/lsp.vim index 8a853e7..04a9647 100644 --- a/.vim/after/plugin/lsp.vim +++ b/.vim/after/plugin/lsp.vim @@ -27,7 +27,7 @@ if executable('gopls') au User lsp_setup call lsp#register_server({ \ 'name': 'gopls', \ 'cmd': {server_info->['gopls']}, - \ 'allowlist': ['go'], + \ 'allowlist': ['go', 'gomod'], \ 'initialization_options': { \ 'ui.completion.usePlaceholders': v:true, \ }, |