Use LazyPluginSpec type annotation #895
Closed
joshmedeski
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
That;s because it's a recursive type. Lua-ls has issues with that |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I added the
LazyPluginSpec
type annotation to a plugin under/lua/plugins/example.lua
but I've noticed theI noticed the
[1]
andname
and some other fields don't support auto-complete or type definitions.Is there a better way to annotate this for better auto-complete type support? I did some research and it seems like Lua types may be limited.
Beta Was this translation helpful? Give feedback.
All reactions