all repos

init.lua @ f8e15a25ac943ba2d988be8ace2033a72855d7de

my nvim config
2 files changed, 9 insertions(+), 0 deletions(-)
feat(cmp): add emoji :hand: completion for `gitcommit`
Author: Smirnov Olexander ss2316544@gmail.com
Committed at: 2022-06-03 23:28:55 +0300
Parent: 27af7fb
M lua/configs/cmp.lua

@@ -14,6 +14,14 @@ map_char = { tex = "" },

} ) +cmp.setup.filetype({ "gitcommit", "NeogitCommitMessage" }, { + sources = { + { name = "buffer" }, + { name = "emoji" }, + { name = "luasnip" }, + }, +}) + cmp.setup { snippet = { expand = function(args)
M lua/plugins.lua

@@ -105,6 +105,7 @@ config = u.get_config "configs.cmp",

requires = { { "hrsh7th/cmp-buffer", after = "nvim-cmp" }, { "saadparwaiz1/cmp_luasnip", after = "nvim-cmp" }, + { "hrsh7th/cmp-emoji", after = "nvim-cmp" }, { "hrsh7th/cmp-path", after = "nvim-cmp" }, { "hrsh7th/cmp-nvim-lsp", module = "cmp_nvim_lsp" }, },