Closed zSnails closed 8 months ago
I was going to add the plugin and both themes in their own pull request, but things happened, and I ended up uploading the dark theme to this branch as well, oh well
to_list function is useless. Just table.insert(table, match) instead of table[match] = match
@Symmettry I did that to avoid repeating function and variable names on the autocomplete menu
With the to_list
workaround.
Without the to_list
workaround
Just check if the list doesn’t have it?
@Symmettry well you could do it that way, although that'd be a bit slow wouldn't it? :^), checking if the list doesn't have it will be O(n), with this method it's always O(1), and yes, I know that this is just a toy editor and that no one's using this for actual coding, just stating why I did it, I'll change it
Or you could also ignore it anyway. I feel it might be better if GriddyCode itself dealt with repeats.
Yeah that'd be a lot better, but having the same name show up 7 times in the autocomplete menu is kinda whack, I could open an issue and discuss that.
Having LSP support would be the next logical step, but I can't help with that as I don't have that much free time to work on it.
Pretty much what the title says, let me know if I missed anything