dapetcu21 / atom-autocomplete-lua

Extensible autocomplete+ provider for Lua
35 stars 6 forks source link

[Question] Why number keys are not supported? #31

Closed winterwolf closed 3 years ago

winterwolf commented 3 years ago

Is there a chance that they will be supported in the future?

dapetcu21 commented 3 years ago

What do you mean by number keys?

winterwolf commented 3 years ago

@dapetcu21 lua can use any types of values as keys for tables, but your plugin support only string keys.

winterwolf commented 3 years ago

https://github.com/dapetcu21/atom-autocomplete-lua#tables

Even though Lua allows indexing tables with any value, only string keys are supported for autocompletion purposes.

dapetcu21 commented 3 years ago

Oh, right, number table keys. Not sure why I didn't support them, but I'm not really maintaining this project anymore :(

winterwolf commented 3 years ago

Ok, thank you :)