File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 1
- " https://github.com/prabirshrestha/quickpick.vim#cf41eecb983c41e5fc45e83291b551a85fe554d3
1
+ " https://github.com/prabirshrestha/quickpick.vim#3d4d574d16d2a6629f32e11e9d33b0134aa1e2d9
2
2
" :QuickpickEmbed path=autoload/lsp/internal/ui/quickpick.vim namespace=lsp#internal#ui#quickpick prefix=lsp-quickpick
3
3
4
4
let s: has_timer = exists (' *timer_start' ) && exists (' *timer_stop' )
@@ -190,6 +190,14 @@ function! lsp#internal#ui#quickpick#busy(busy) abort
190
190
endif
191
191
endfunction
192
192
193
+ function ! lsp#internal#ui#quickpick#results_winid () abort
194
+ if exists (' s:state' )
195
+ return s: state [' resultswinid' ]
196
+ else
197
+ return 0
198
+ endif
199
+ endfunction
200
+
193
201
function ! s: busy_tick (... ) abort
194
202
let s: state [' busyframe' ] = s: state [' busyframe' ] + 1
195
203
if s: state [' busyframe' ] >= len (s: state [' busyframes' ])
@@ -400,7 +408,7 @@ if exists('*trim')
400
408
endfunction
401
409
else
402
410
function ! s: trim (str) abort
403
- return substitute (a: string , ' ^\s*\|\s*$' , ' ' , ' g' )
411
+ return substitute (a: str , ' ^\s*\|\s*$' , ' ' , ' g' )
404
412
endfunction
405
413
endif
406
414
You can’t perform that action at this time.
0 commit comments