mirror of
https://github.com/prabirshrestha/asyncomplete.vim.git
synced 2026-05-02 12:25:19 +02:00
ignore refresh of menu if selected
This commit is contained in:
@@ -312,6 +312,11 @@ function! s:recompute_pum(...) abort
|
||||
|
||||
call asyncomplete#log('s:recompute_pum')
|
||||
|
||||
if asyncomplete#menu_selected()
|
||||
call asyncomplete#log('s:recomputed_pum', 'ignorning refresh pum due to menu selection')
|
||||
return
|
||||
endif
|
||||
|
||||
let l:startcols = []
|
||||
for l:match in values(s:matches)
|
||||
let l:startcols += [l:match['startcol']]
|
||||
|
||||
Reference in New Issue
Block a user