Closed HNegus closed 10 months ago
Then all the internal codes that depend on cmp.ConfigSchema
should do (unnecessary) nil check, right? I think a better solution might be have a different type than cmp.ConfigSchema
that is used for cmp.setup
only.
I believe the type is used in just a few places, so wouldn't the impact be very limited?
Sorry. I'd merged another PR. Thank you.
Fixed in #1723
The Lua Language Server will show a warning when calling
cmp.setup
because the table fields are not marked as optional.