Skip to content

Commit e08ae37

Browse files
committed
fix: sending exact and score to lsp
Closes #1667
1 parent bdb1497 commit e08ae37

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

lua/blink/cmp/sources/lib/utils.lua

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ function utils.blink_item_to_lsp_item(item)
1010
lsp_item.cursor_column = nil
1111
lsp_item.client_id = nil
1212
lsp_item.client_name = nil
13+
lsp_item.exact = nil
14+
lsp_item.score = nil
1315
return lsp_item
1416
end
1517

lua/blink/cmp/types.lua

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
--- @field kind_name? string
1212
--- @field kind_icon? string
1313
--- @field kind_hl? string
14+
--- @field exact? boolean
15+
--- @field score? number
1416

1517
return {
1618
-- some plugins mutate the vim.lsp.protocol.CompletionItemKind table

0 commit comments

Comments
 (0)