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."
336
336
" Convert ITEMS into internal form."
337
337
(-map (-lambda ((item &as &CompletionItem
338
338
:label
339
- :filter-text?
340
339
:_emacsStartPoint start-point
341
340
:score? ))
342
- `( :label ,( or filter-text ? label)
341
+ `( :label , label
343
342
:item , item
344
343
:start-point , start-point
345
344
:score , score? ))
@@ -612,7 +611,7 @@ of the PREFIX string."
612
611
(or (lsp-completion--guess-prefix item)
613
612
bounds-start)))
614
613
it)
615
- ; ; remove items with no label or filterText
614
+ ; ; remove items with no label and filterText
616
615
(-remove
617
616
(-lambda ((&CompletionItem :filter-text? :label ))
618
617
(and (lsp-falsy? filter-text?) (lsp-falsy? label)))
You can’t perform that action at this time.
0 commit comments