aboutsummaryrefslogtreecommitdiff
path: root/.vim/after/plugin
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2023-04-19 20:28:02 +0800
committerGuangxiong Lin <[email protected]>2023-04-19 20:28:02 +0800
commite9980268cb59f6246fa65bda2688af3fc96ece4e (patch)
tree68f5ac3b6540ccaf2e89dea4e728c0855bac37d4 /.vim/after/plugin
parentb14c9340020b79d46706e79bf1e444cd85aa98be (diff)
downloaddotfiles-e9980268cb59f6246fa65bda2688af3fc96ece4e.tar.gz
dotfiles-e9980268cb59f6246fa65bda2688af3fc96ece4e.tar.bz2
dotfiles-e9980268cb59f6246fa65bda2688af3fc96ece4e.zip
Use placeholders in golang completion
Diffstat (limited to '.vim/after/plugin')
-rw-r--r--.vim/after/plugin/lsp.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/.vim/after/plugin/lsp.vim b/.vim/after/plugin/lsp.vim
index cbc5b15..63a9fd2 100644
--- a/.vim/after/plugin/lsp.vim
+++ b/.vim/after/plugin/lsp.vim
@@ -28,6 +28,9 @@ if executable('gopls')
\ 'name': 'gopls',
\ 'cmd': {server_info->['gopls']},
\ 'allowlist': ['go'],
+ \ 'initialization_options': {
+ \ 'ui.completion.usePlaceholders': v:true,
+ \ },
\ })
endif