File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -336,10 +336,9 @@ Return `nil' when fails to guess prefix."
336336 " Convert ITEMS into internal form."
337337 (-map (-lambda ((item &as &CompletionItem
338338 :label
339- :filter-text?
340339 :_emacsStartPoint start-point
341340 :score? ))
342- `( :label ,( or filter-text ? label)
341+ `( :label , label
343342 :item , item
344343 :start-point , start-point
345344 :score , score? ))
@@ -612,7 +611,7 @@ of the PREFIX string."
612611 (or (lsp-completion--guess-prefix item)
613612 bounds-start)))
614613 it)
615- ; ; remove items with no label or filterText
614+ ; ; remove items with no label and filterText
616615 (-remove
617616 (-lambda ((&CompletionItem :filter-text? :label ))
618617 (and (lsp-falsy? filter-text?) (lsp-falsy? label)))
You can’t perform that action at this time.
0 commit comments