Home

Awesome

cmp-snippy

nvim-snippy completion source for nvim-cmp.

Setup

Install using your favorite plugin manager:

Plug 'dcampos/cmp-snippy'

Enable:

require 'cmp'.setup {
  snippet = {
    expand = function(args)
      require 'snippy'.expand_snippet(args.body)
    end
  },

  sources = {
    { name = 'snippy' }
  }
}