fix(blink): unset provider.kind (#5024)
## Description Unsets `sources.providers[provider].kind` custom properties to pass blink.cmp config validation. ## Related Issue(s) <!-- If this PR fixes any issues, please link to the issue here. - Fixes #<issue_number> --> ## Screenshots  ## Checklist - [x] I've read the [CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md) guidelines.
This commit is contained in:
@ -92,6 +92,8 @@ return {
|
|||||||
table.insert(enabled, source)
|
table.insert(enabled, source)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Unset custom prop to pass blink.cmp validation
|
||||||
opts.sources.compat = nil
|
opts.sources.compat = nil
|
||||||
|
|
||||||
-- check if we need to override symbol kinds
|
-- check if we need to override symbol kinds
|
||||||
@ -115,6 +117,9 @@ return {
|
|||||||
end
|
end
|
||||||
return items
|
return items
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Unset custom prop to pass blink.cmp validation
|
||||||
|
provider.kind = nil
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user