Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Improved highlighting for argument count warnings
The highlighting for function calls with wrong arguments now applies to the full function call expression, starting with the function's name and continuing until the closing paren, even when the expression spans multiple lines and/or includes comments, e.g.: function two_args(a, b) end -- this shouldn't be highlighted: two_args(1, 2) -- this should be highlighted: two_args --[[ foobar ]] (1) -- this should also be highlighted: two_args( var1, var2, var3)
- Loading branch information
Showing
3 changed files
with
22 additions
and
12 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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