notmuch address source for the following completion engines:
require('cmp').setup {
sources = {
{ name = 'notmuch' }
}
}
-- ...
sources = {
completion = {
enabled_providers = { "lsp", "path", "snippets", "buffer", "notmuch" },
},
providers = {
lsp = {
name = "LSP",
module = "blink.cmp.sources.lsp",
},
path = {
name = "Path",
module = "blink.cmp.sources.path",
score_offset = 3,
},
snippets = {
name = "Snippets",
module = "blink.cmp.sources.snippets",
score_offset = -3,
},
buffer = {
name = "Buffer",
module = "blink.cmp.sources.buffer",
fallback_for = { "lsp" },
},
notmuch = {
name = "Notmuch",
module = "blink.cmp.sources.notmuch",
},
},
},
-- ...