Skip to content

crazyhulk/cmp-sign

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cmp-sign

Get the sign of the function, for example:

input: sort.Slice.sign

output: func (x any, less func(i int, j int) bool)

Support mockey, which is useful when making a test for ur code.

mockey

You can custom completion menu:

The key will display on the completion menu. {{name}} will be replace by function name, and {{sign}} will replace by function sign.

require('cmp_sign').setup({
	good = "xxx{{name}}xxxx{{sign}}",
})

install

Packer

use { 'crazyhulk/cmp-sign' }

Setup


require'cmp'.setup {
  sources = {
    { name = 'nvim_cmp_sign' }
  }
}

About

function sign complete

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages