1
0
Fork 0

vim: cmp: comment out example, shorten comments

This commit is contained in:
tastytea 2022-08-12 19:39:22 +02:00
parent 4d4208215c
commit 24119cfff3
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 10 additions and 10 deletions

View File

@ -67,16 +67,16 @@ packer.use {
})
})
-- Set configuration for specific filetype.
cmp.setup.filetype('gitcommit', {
sources = cmp.config.sources({
{ name = 'cmp_git' },
}, {
{ name = 'buffer' },
})
})
-- -- Set configuration for specific filetype.
-- cmp.setup.filetype('gitcommit', {
-- sources = cmp.config.sources({
-- { name = 'cmp_git' },
-- }, {
-- { name = 'buffer' },
-- })
-- })
-- Use buffer source for `/` (if you enabled `native_menu`, this won't work anymore).
-- Use buffer source for `/`
cmp.setup.cmdline('/', {
mapping = cmp.mapping.preset.cmdline(),
sources = {
@ -84,7 +84,7 @@ packer.use {
}
})
-- Use cmdline & path source for ':' (if you enabled `native_menu`, this won't work anymore).
-- Use cmdline & path source for ':'
cmp.setup.cmdline(':', {
mapping = cmp.mapping.preset.cmdline(),
sources = cmp.config.sources({