Skip to content

Commit

Permalink
docs: recommend using versioned blink.compat
Browse files Browse the repository at this point in the history
  • Loading branch information
Saghen committed Nov 24, 2024
1 parent 8500a62 commit 4cc0e2b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -624,10 +624,12 @@ There's currently no `blink.cmp` native source for [luasnip](https://github.com/
```lua
{
'saghen/blink.cmp',
version = '0.*',
dependencies = {
'L3MON4D3/LuaSnip',
'saadparwaiz1/cmp_luasnip',
{ 'saghen/blink.compat', opts = { impersonate_nvim_cmp = true } } },
-- lock compat to tagged versions, if you've also locked blink.cmp to tagged versions
{ 'saghen/blink.compat', version = '*', opts = { impersonate_nvim_cmp = true } } },
opts = {
accept = {
expand_snippet = function(snippet) require('luasnip').lsp_expand(snippet) end,
Expand Down

0 comments on commit 4cc0e2b

Please sign in to comment.