added emoji completion.

This commit is contained in:
Gabe Venberg 2025-08-11 15:50:25 +02:00
parent 5782f851c8
commit e4247f017e
2 changed files with 13 additions and 1 deletions

View file

@ -203,6 +203,7 @@
friendly-snippets friendly-snippets
cmp-cmdline cmp-cmdline
blink-cmp blink-cmp
blink-emoji-nvim
blink-compat blink-compat
colorful-menu-nvim colorful-menu-nvim
]; ];

View file

@ -39,6 +39,11 @@ return {
for_cat = "completion", for_cat = "completion",
on_plugin = { "blink.cmp" }, on_plugin = { "blink.cmp" },
}, },
{
"blink-emoji.nvim",
for_cat = "completion",
on_plugin = { "blink.cmp" },
},
{ {
"blink.cmp", "blink.cmp",
for_cat = "completion", for_cat = "completion",
@ -118,7 +123,7 @@ return {
end, end,
}, },
sources = { sources = {
default = { 'lsp', 'path', 'snippets', 'buffer', 'omni' }, default = { 'lsp', 'path', 'snippets', 'buffer', 'omni', 'emoji', },
providers = { providers = {
path = { path = {
score_offset = 50, score_offset = 50,
@ -129,6 +134,12 @@ return {
snippets = { snippets = {
score_offset = 40, score_offset = 40,
}, },
emoji = {
module = "blink-emoji",
name = "Emoji",
score_offset = 15,
opts = { insert = true },
},
cmp_cmdline = { cmp_cmdline = {
name = 'cmp_cmdline', name = 'cmp_cmdline',
module = 'blink.compat.source', module = 'blink.compat.source',