nvim: use git completions in NeogitCommitMessage

this doesn't work currently, probably because the ft is set too late?
This commit is contained in:
tastytea 2022-08-28 20:40:39 +02:00
parent 56bb5c8248
commit 095e0cefc5
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM

View File

@ -61,7 +61,7 @@ if cmp and luasnip then
}) })
}) })
cmp.setup.filetype('gitcommit', { cmp.setup.filetype({ 'gitcommit', 'NeogitCommitMessage' }, {
sources = cmp.config.sources({ sources = cmp.config.sources({
{ name = 'dictionary' } { name = 'dictionary' }
}, { }, {