Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 794 Bytes

README.md

File metadata and controls

35 lines (27 loc) · 794 Bytes

cmp-notmuch

notmuch address source for the following completion engines:

Setup

nvim-cmp

require('cmp').setup {
  sources = {
    { name = 'notmuch' }
  }
}

blink.cmp

sources = {
    providers = {
        -- default providers
        { "blink.cmp.sources.lsp",      name = "LSP" },
        { "blink.cmp.sources.path",     name = "Path",     score_offset = 3 },
        { "blink.cmp.sources.snippets", name = "Snippets", score_offset = -3 },
        { "blink.cmp.sources.buffer",   name = "Buffer",   fallback_for = { "LSP" } },

        -- notmuch source
        { "blink.cmp.sources.notmuch",  name = "Notmuch" },
    },
}