Use https://github.com/Dynge/gitmoji.nvim instead.
An extension for telescope.nvim that allows you to search gitmojis
Install telescope and this plugin then
require("telescope").load_extension("gitmoji")
:Telescope gitmoji
It's optional.
by default
telescope.setup {
extensions = {
gitmoji = {
action = function(gitmoji)
-- argument gitmoji is a table.
-- {name="", value="", cagegory="", description=""}
vim.fn.setreg("*", gitmoji.value)
print([[Press p or "*p to paste this gitmoji]] .. gitmoji.value)
-- insert gitmoji when picked
-- vim.api.nvim_put({ gitmoji.value }, 'c', false, true)
end,
}
},
}
This plugin is a shameless copy and paste of https://github.com/xiyaowong/telescope-emoji.nvim.