Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用coc-rust-anaylzer插件现在问题是我只能看到a提示,但我不知道如何选择他给我的选项,我试过回车,它只断线并没有选择它,我也试过tab键,还是不行,不会选择选项,只会切换选项。而当我想详细查看文档中的某个特定选项时,不知道如何切换到该文档框更仔细地查看,有没有办法或材料可以直接或间接帮助解决这个问题
coc-rust-anaylzer
您可以映射您<cr>以选择完成项:
<cr>
inoremap <silent><expr> <cr> pumvisible() ? coc#_select_confirm() \: "\<C-g>u\<CR>\<c-r>=coc#on_enter()\<CR>"