A vscode extension that will highlight unpadded parentheses in Lua.
local mieou = function ( x, y ) end -- :)
local woof = function (x, y) end -- :(
local baa = meiou( 3, 4 ); -- :)
local moo = woof(3, 4); -- :(
Find it on the Visual Studio Code Marketplace.
Consider making the highlight stand out more by adding this to your vscode settings:
"editor.tokenColorCustomizations": {
"textMateRules": [{
"scope": "invalid.illegal",
"settings": {
"foreground": "#FF0000",
"fontStyle": "bold underline",
}
}]
}