Skip to content

Commit 0f5f484

Browse files
committed
feat: mark buffer completion items as plain text
closes #148
1 parent 5d79a90 commit 0f5f484

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/blink/cmp/sources/buffer.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ local function words_to_items(words)
3939
table.insert(items, {
4040
label = word,
4141
kind = require('blink.cmp.types').CompletionItemKind.Text,
42-
insertTextFormat = vim.lsp.protocol.InsertTextFormat.Snippet,
42+
insertTextFormat = vim.lsp.protocol.InsertTextFormat.PlainText,
4343
insertText = word,
4444
})
4545
end

0 commit comments

Comments
 (0)