Skip to content

Commit

Permalink
docs: remove providers from transform_items for disable snippets ex…
Browse files Browse the repository at this point in the history
…ample (#777)
  • Loading branch information
jpwallace22 authored Dec 25, 2024
1 parent 63718e9 commit d5738d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/configuration/snippets.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ By default, the `snippets` source will check `~/.config/nvim/snippets` for your
## Disable all snippets

```lua
sources.providers.transform_items = function(_, items)
sources.transform_items = function(_, items)
return vim.tbl_filter(function(item)
return item.kind ~= require('blink.cmp.types').CompletionItemKind.Snippet
end, items)
Expand Down

0 comments on commit d5738d2

Please sign in to comment.