Skip to content

Commit bed4d52

Browse files
update quickfix to 3c3d58508 - fix vim api update (#1036)
1 parent 678c059 commit bed4d52

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

autoload/lsp/internal/ui/quickpick.vim

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
" https://github.com/prabirshrestha/quickpick.vim#601f826b829dcac19a613f6724e6fb9f110d7c07
1+
" https://github.com/prabirshrestha/quickpick.vim#3c3d5850867a7308391a1143575f62677dc2ce3f
22
" :QuickpickEmbed path=autoload/lsp/internal/ui/quickpick.vim namespace=lsp#internal#ui#quickpick prefix=lsp-quickpick
33

44
let s:has_timer = exists('*timer_start') && exists('*timer_stop')
@@ -211,7 +211,9 @@ function! s:update_items() abort
211211
else
212212
if empty(s:state['key']) " item is string
213213
if s:has_matchfuzzypos
214-
let [l:fitems, l:highlights] = matchfuzzypos(s:state['items'], s:state['input'])
214+
let l:matchfuzzyresult = matchfuzzypos(s:state['items'], s:state['input'])
215+
let l:fitems = l:matchfuzzyresult[0]
216+
let l:highlights = l:matchfuzzyresult[1]
215217
let s:state['fitems'] = l:fitems
216218
let s:state['highlights'] = l:highlights
217219
elseif s:has_matchfuzzy
@@ -223,7 +225,9 @@ function! s:update_items() abort
223225
if s:has_matchfuzzypos
224226
" vim requires matchfuzzypos to have highlights.
225227
" matchfuzzy only patch doesn't support dict search
226-
let [l:fitems, l:highlights] = matchfuzzypos(s:state['items'], s:state['input'], { 'key': s:state['key'] })
228+
let l:matchfuzzyresult = matchfuzzypos(s:state['items'], s:state['input'], { 'key': s:state['key'] })
229+
let l:fitems = l:matchfuzzyresult[0]
230+
let l:highlights = l:matchfuzzyresult[1]
227231
let s:state['fitems'] = l:fitems
228232
let s:state['highlights'] = l:highlights
229233
else

0 commit comments

Comments
 (0)