Skip to content

michaeladler/cmp-notmuch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cmp-notmuch

notmuch address source for the following completion engines:

Setup

nvim-cmp

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

blink.cmp

-- ...

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",
        },
    },
},

-- ...

About

notmuch address auto-completion for nvim-cmp

Resources

License

Stars

Watchers

Forks

Languages