From 2325c78135d9bfde01e4c4dec4277e22b5c1403e Mon Sep 17 00:00:00 2001 From: Liam Dyer Date: Sat, 21 Dec 2024 14:58:42 -0500 Subject: [PATCH] docs: fix recipes formatting for disabling snippets --- docs/configuration/snippets.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/configuration/snippets.md b/docs/configuration/snippets.md index b67bf83b..9444a1d5 100644 --- a/docs/configuration/snippets.md +++ b/docs/configuration/snippets.md @@ -81,15 +81,14 @@ capabilities = require('blink.cmp').get_lsp_capabilities({ Some LSPs may ignore the `snippetSupport` field, in which case, you need to set LSP specific options while setting them up. Some examples: ```lua --- If you're using `opts = { ['rust-analyzer'] = { } }` in your lspconfig configuration, --- simply put these options in there instead +-- If you're using `opts = { ['rust-analyzer'] = { } }` in your lspconfig configuration, simply put these options in there instead -- For `rust-analyzer` lspconfig['rust-analyzer'].setup({ completion = { capable = { - snippets = 'add_parenthesis' - } + snippets = 'add_parenthesis' + } } })