Repository navigation
Add custom overrides for FindMetaTable - #91
Merged
Merged
Conversation
luttje
approved these changes
Nov 17, 2026
luttje
left a comment
Owner
There was a problem hiding this comment.
Thanks for your kind words, support and contribution!
Very easy to read through your PR and see the benefits. This way forward (using the plugin to add overloads) seems like a good approach.
Merging this right away
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi! Really love & appreciate the project♥️
I've been a little annoyed, though, that
FindMetaTablecomplains to me about maybe beingnil, and I don't love having to add ignores or explicit typing.I feel like this is the best solution with the fewest drawbacks ✨
Basically we just add overrides for all of the known Gmod metatables, so if you use one of those, LuaLS won't complain at you.
If you're using it for anything custom, you'll have the exact same
nil|tablewarning, so no changes. there.One downside is if you look up the
FindMetaTabledefinition it could show you like 40 overrides in the popup. I don't think there's any way around that and I feel like it's way less annoying than the current problem.Wanted to pitch it as a solution! Happy to discuss