From 29c4dea4e75b82ad4b06c21e360eefa3951a3fba Mon Sep 17 00:00:00 2001 From: Jorge Villalobos Date: Fri, 13 Dec 2024 01:25:42 -0500 Subject: [PATCH] fix(blink): unset provider.kind (#5024) ## Description Unsets `sources.providers[provider].kind` custom properties to pass blink.cmp config validation. ## Related Issue(s) ## Screenshots ![Screenshot 2024-12-12 at 23 21 47](https://github.com/user-attachments/assets/21866a51-d0d5-4ee5-9cc3-3ce7f2eb6415) ## Checklist - [x] I've read the [CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md) guidelines. --- lua/lazyvim/plugins/extras/coding/blink.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lua/lazyvim/plugins/extras/coding/blink.lua b/lua/lazyvim/plugins/extras/coding/blink.lua index 70e0cdeb..40d42b32 100644 --- a/lua/lazyvim/plugins/extras/coding/blink.lua +++ b/lua/lazyvim/plugins/extras/coding/blink.lua @@ -92,6 +92,8 @@ return { table.insert(enabled, source) end end + + -- Unset custom prop to pass blink.cmp validation opts.sources.compat = nil -- check if we need to override symbol kinds @@ -115,6 +117,9 @@ return { end return items end + + -- Unset custom prop to pass blink.cmp validation + provider.kind = nil end end