ignore refresh of menu if selected

This commit is contained in:
Prabir Shrestha
2019-03-02 05:08:17 -08:00
parent 2cec8c3027
commit e52e70c72c
+5
View File
@@ -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']]