Closed ANtlord closed 4 years ago
I also encountered this issue, which requires me to delete twice ( "...)" two redundant symbols) for each function completion that has arguments.
@jiahaowu did you try the new version of Rust Analyzer? Looks like it fixed from that side. At least for me
@ANtlord Thanks for letting me know the change on the end of RA. I tried the new version of RA and the issue is resolved for me.
Ok, I think it can be closed.
:checkhealth LanguageClient
?Describe the bug
I use LanguageClient for Rust development. I switched from RLS to rust-analyzer. When I pick a method which expects arguments it inserts parenthesis and three points inside them.
Environment
Features: +acl +iconv -jemalloc +tui See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/usr/share/nvim"
set termguicolors
call plug#begin('~/.local/share/nvim/plugged') Plug 'autozimu/LanguageClient-neovim', { \ 'branch': 'next', \ 'do': 'bash install.sh', \ } Plug 'https://github.com/cocopon/iceberg.vim/'
Plug 'ncm2/ncm2' Plug 'roxma/nvim-yarp' call plug#end() colorscheme iceberg let g:LanguageClient_serverCommands = { \ 'rust': ['rust-analyzer'], \ } autocmd BufEnter * call ncm2#enable_for_buffer() set completeopt=noinsert,menuone,noselect let g:LanguageClient_useVirtualText = 'No'