Skip to content

Commit

Permalink
docs: fix luasnip setup example
Browse files Browse the repository at this point in the history
  • Loading branch information
Saghen committed Nov 21, 2024
1 parent 94754f6 commit 0ac9b00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ MiniDeps.add({

### Luasnip

There's currently no `blink.cmp` native source for [luasnip](https://github.com/L3MON4D3/LuaSnip). You may use [blink.compat](https://github.com/saghen/blink.compat) plugin with the [cmp-luasnip](https://github.com/saadparwaiz1/cmp_luasnip) nvim-cmp source in the meantime.
There's currently no `blink.cmp` native source for [luasnip](https://github.com/L3MON4D3/LuaSnip). You may use [blink.compat](https://github.com/saghen/blink.compat) plugin with the [cmp_luasnip](https://github.com/saadparwaiz1/cmp_luasnip) nvim-cmp source in the meantime.

```lua
{
Expand All @@ -619,7 +619,7 @@ There's currently no `blink.cmp` native source for [luasnip](https://github.com/
opts = {
accept = {
expand_snippet = function(...) require('luasnip').lsp_expand(...) end,
}
},
sources = {
completion = {
-- WARN: add the rest of your providers here, unless you're using `opts_extend`
Expand Down

0 comments on commit 0ac9b00

Please sign in to comment.