Skip to content

Commit

Permalink
feat: mark buffer completion items as plain text
Browse files Browse the repository at this point in the history
closes #148
  • Loading branch information
Saghen committed Oct 20, 2024
1 parent 5d79a90 commit 0f5f484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/blink/cmp/sources/buffer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ local function words_to_items(words)
table.insert(items, {
label = word,
kind = require('blink.cmp.types').CompletionItemKind.Text,
insertTextFormat = vim.lsp.protocol.InsertTextFormat.Snippet,
insertTextFormat = vim.lsp.protocol.InsertTextFormat.PlainText,
insertText = word,
})
end
Expand Down

0 comments on commit 0f5f484

Please sign in to comment.