diff options
author | Guangxiong Lin <[email protected]> | 2023-04-19 20:28:02 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2023-04-19 20:28:02 +0800 |
commit | e9980268cb59f6246fa65bda2688af3fc96ece4e (patch) | |
tree | 68f5ac3b6540ccaf2e89dea4e728c0855bac37d4 /.vim | |
parent | b14c9340020b79d46706e79bf1e444cd85aa98be (diff) | |
download | dotfiles-e9980268cb59f6246fa65bda2688af3fc96ece4e.tar.gz dotfiles-e9980268cb59f6246fa65bda2688af3fc96ece4e.tar.bz2 dotfiles-e9980268cb59f6246fa65bda2688af3fc96ece4e.zip |
Use placeholders in golang completion
Diffstat (limited to '.vim')
-rw-r--r-- | .vim/after/plugin/lsp.vim | 3 |
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 |