Skip to content

aca/cmp-function

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

cmp-function

Trigger function, alternative to L3MON4D3/LuaSnip#917

cmp_sources = {
    { name = "nvim_lsp" },
    { name = "luasnip" },
    { name = "function" },
}
require('cmp_function').register({
    { label = 'hello', kind = 15, documentation = "hello world", func = function() print("hello world") end },
    { label = 'hello2', kind = 15, documentation = "hello2 world", func = function() print("hello2 world") end },
})

About

Trigger function with nvim-cmp

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages