-
Is your feature request related to a problem? Please describe. coc#rpc#request('hasSelected', []) Many of my coc scripts need this feature, for example, inoremap <silent><expr> <CR> pumvisible() && coc#rpc#request('hasSelected', [])
\? coc#_select_confirm()
\: "\<C-g>u\<CR>\<c-r>=coc#on_enter()\<CR>" Describe the solution you'd like |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can use |
Beta Was this translation helpful? Give feedback.
You can use
coc#pum#visible() && coc#pum#info()['index'] != -1