Overview
@deprecated marks a function, field, or class as deprecated. When your code uses that symbol, GLuaLS reports a deprecated diagnostic (hint by default) and shows strikethrough in completions.
Syntax
Basic deprecation
OldPlayerJoin show a deprecation hint.
With a migration message
GLuaLS shows the message in the diagnostic and hover documentation:Deprecated fields
Deprecated class
Severity
Thedeprecated diagnostic uses hint severity by default (subtle underline). You can change it:
.gluarc.json