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
cmp-cmdline
blink-cmp
blink-emoji-nvim
blink-compat
colorful-menu-nvim
];

View file

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