You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe both of these are incorrect: a table key is not a variable nor a declaration -- it's assigning an anonymous variable to a property; so it should be
type: property (same as, e.g., baz = 'quux')
no modifier (also for other table keys)
(Having the bar in foo.bar() be a method is fine, of course.)
The text was updated successfully, but these errors were encountered:
How are you using the lua-language-server?
NeoVim
Which OS are you using?
MacOS
What is the issue affecting?
Semantic tokens
Description of issue
Consider the following Lua snippet:
Here,
bar
is marked with the semantic tokenmethod
declaration
I believe both of these are incorrect: a table key is not a variable nor a declaration -- it's assigning an anonymous variable to a property; so it should be
property
(same as, e.g.,baz = 'quux'
)(Having the
bar
infoo.bar()
be amethod
is fine, of course.)The text was updated successfully, but these errors were encountered: