summaryrefslogtreecommitdiff
path: root/mut/neovim/pack/plugins/start/blink.cmp/lua/blink/cmp/sources/snippets/init.lua
blob: 2a4b0baa5751b8d400de233b4d5746525fb56e6e (plain)
1
2
3
4
5
6
7
8
9
local source = {}

function source.new(opts)
  local preset = opts.preset or require('blink.cmp.config').snippets.preset
  local module = 'blink.cmp.sources.snippets.' .. preset
  return require(module).new(opts)
end

return source