aboutsummaryrefslogtreecommitdiff
path: root/.vim/after
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2023-10-25 00:22:21 +0800
committerGuangxiong Lin <[email protected]>2023-10-25 00:22:21 +0800
commit056048e9df3a280074ad9b937dca2c703584e492 (patch)
tree84740693a293c680a4a36d6499889136dd25397c /.vim/after
parenta69fe12c1544bddc9e2a656befb93a0678f4573b (diff)
downloaddotfiles-056048e9df3a280074ad9b937dca2c703584e492.tar.gz
dotfiles-056048e9df3a280074ad9b937dca2c703584e492.tar.bz2
dotfiles-056048e9df3a280074ad9b937dca2c703584e492.zip
Enable gopls in gomod
Diffstat (limited to '.vim/after')
-rw-r--r--.vim/after/plugin/lsp.vim2
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,
\ },