Skip to content

vCard source for completion-nvim, nvim-compe and nvim-cmp

License

Notifications You must be signed in to change notification settings

cbarrete/completion-vcard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

completion-vcard

vCard completion source for completion-nvim, nvim-compe, and nvim-cmp.

Usage

For completion-nvim:

require('completion_vcard').setup_completion('~/path/to/vcard/dir')

vim.g.completion_chain_complete_list = {
    { complete_items = { 'lsp', 'vCard' }},
    { mode = '<c-n>' }
}

For nvim-compe:

require('completion_vcard').setup_compe('~/path/to/vcard/dir')

require('compe').setup({
    source = {
        vCard = true,
        -- probably some other sources as well
    }
})

For nvim-cmp:

require('cmp').setup({
    -- ...
    sources = {
        { name = 'vCard' },
        -- ...
    },
})

require('cmp').register_source('vCard', require('completion_vcard').setup_cmp('~/path/to/vcard/dir'))

About

vCard source for completion-nvim, nvim-compe and nvim-cmp

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages