Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add disable highlight group and suppress warning options #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DraggonFantasy
Copy link

Lua is frequently used as embedded language (for example in games). The applications, that uses Lua, provides some API to it. But of course Lua Inspect doesn't know anything about it, so it thinks that here's some error.

I've added few options to give user more control - first one allows to disable some of highlighting groups without disabling whole highlighting, and second allows to mute some of warning messages using regexps.
Personally I use it to solve the problem I described above (I disable highlighting of undeclared globals + mute warnings about API functions provided by application), but I'm sure there are more uses for that options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant