🚚move gitmoji to separate files
only load gitmoji completions when editing commit messages
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
return {
|
||||||
|
require('cmp').setup.buffer({
|
||||||
|
sources = require('cmp').config.sources({ { name = 'gitmoji' } }, { { name = 'buffer' } }),
|
||||||
|
}),
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
return {
|
||||||
|
'Dynge/gitmoji.nvim',
|
||||||
|
dependencies = {
|
||||||
|
'hrsh7th/nvim-cmp',
|
||||||
|
},
|
||||||
|
ft = 'gitcommit',
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user