use gitmoji using colon

This commit is contained in:
Sakamoto Hiroshi
2024-07-05 16:27:28 -05:00
parent 103946319c
commit c7c4a74600
2 changed files with 7 additions and 2 deletions
+5
View File
@@ -31,6 +31,11 @@ require("lazy").setup({
-- load plugins manually -- load plugins manually
require("neogit").setup{} require("neogit").setup{}
require("gitmoji").setup({}) require("gitmoji").setup({})
require("cmp").setup({
sources = {
{ name = 'gitmoji' }
}
})
-- load theme -- load theme
dofile(vim.g.base46_cache .. "defaults") dofile(vim.g.base46_cache .. "defaults")
+2 -2
View File
@@ -74,13 +74,13 @@ return {
"hrsh7th/nvim-cmp", "hrsh7th/nvim-cmp",
}, },
opts = { opts = {
filetypes = { "gitcommit" }, filetypes = { "gitcommit", "NeogitCommitMessage" },
completion = { completion = {
append_space = false, append_space = false,
complete_as = "emoji", complete_as = "emoji",
}, },
}, },
ft = "gitcommit", ft = "gitcommit"
}, },
{ {