nvim: add blink-emoji completion 🚀

This commit is contained in:
Daniel Lundin 2025-01-21 22:30:38 +01:00
parent df7f12c94c
commit fdb2fa86e4
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI
2 changed files with 13 additions and 3 deletions

View file

@ -61,9 +61,18 @@ require 'blink-cmp'.setup({
}, },
sources = { sources = {
default = { 'lsp' }, default = {
'lsp',
'emoji',
},
cmdline = {}, cmdline = {},
providers = {}, providers = {
emoji = {
module = "blink-emoji",
name = "Emoji",
score_offset = 1,
opts = { insert = true },
}
},
}, },
}) })

View file

@ -47,6 +47,7 @@ in
plugins = with pkgs.vimPlugins; [ plugins = with pkgs.vimPlugins; [
blink-compat blink-compat
blink-emoji-nvim
friendly-snippets friendly-snippets
go-nvim go-nvim
targets-vim targets-vim