Skip to content

Commit

Permalink
fix: remove vim.notify on snippet only containing text
Browse files Browse the repository at this point in the history
  • Loading branch information
Saghen committed Dec 18, 2024
1 parent 284dd37 commit 59ef8a4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lua/blink/cmp/completion/accept/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ local function accept(ctx, item, callback)
and #parsed_snippet.data.children == 1
and parsed_snippet.data.children[1].type == vim.lsp._snippet_grammar.NodeType.Text
then
vim.notify('Snippet only contains text, ignoring', vim.log.levels.WARN)
item.insertTextFormat = vim.lsp.protocol.InsertTextFormat.PlainText
end
end
Expand Down

0 comments on commit 59ef8a4

Please sign in to comment.