-
-
Notifications
You must be signed in to change notification settings - Fork 351
more emmylua enhancements #1457
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
Comments
(added a new suggestion) |
Do you want |
on second thought, i guess it depends? it's just something i noticed, i usually use modules so in my case at least, there should never ever be global variables |
You can try to color global variables with striking color with server on latest master: // color global variables to red
"editor.semanticTokenColorCustomizations": {
"rules": {
"variable.global": "#ff0000"
}
} It can also set font style. |
Won't fix |
As design |
Alias need to be expanded, so I can not support recursive alias. |
You need set |
(it's okay to close this if they're not possible, just wondering if they're possible)
ffi.cdef([[]])
, not just the version without parensstring + anything
,table + anything
,anything + string
,anything + table
@class
suppresses "global variable in lowercase initial" warning:string|string[]
andnumber
so even just handling it only for primitives and arrays would be quite helpful@alias tree_node table<string, tree_leaf | tree_node>
@type my_function_alias
as an alternative to@param
+@return
fun(req: request, res: response): nil
local foo = function
andlocal function foo
. doesn't seem to work forreturn function
return
, etc) would go a long wayThe text was updated successfully, but these errors were encountered: