megalithic / cmp-gitmoji

nvim-cmp source for emoji

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cmp-gitmoji

nvim-cmp source for gitmojis.

Setup

require'cmp'.setup {
  sources = {
    { name = 'gitmoji' }
  }
}

Additional Setup

You might want to trigger this nvim-cmp source only for gitcommit FileType:

vim:

autocmd FileType gitcommit lua require'cmp'.setup.buffer {
\   sources = {
\     { name = 'gitmoji' }
\   }
\ }

lua:

vim.cmd([[
  autocmd FileType gitcommit lua require'cmp'.setup.buffer {
  \   sources = {
  \     { name = 'gitmoji' }
  \   }
  \ }
]])

About

nvim-cmp source for emoji


Languages

Language:Lua 100.0%