Committed config files
Share linter and formatter settings with
.glua.json and .gluafmtrc.json.Inline suppressions
Silence a specific diagnostic on a single line or block without changing global rules.
Diagnostic rules
Browse every diagnostic rule the linter can enforce or ignore.
Precedence order
Settings are resolved from lowest to highest priority. A higher layer always wins when the same option is set in multiple places.- Built-in defaults
- VS Code editor settings (
settings.json) .editorconfig.prettierrc.glua.json(linter).gluafmtrc.json(formatter)- Inline suppression comments
Generic tools like
.editorconfig and .prettierrc are read so you do not repeat yourself. GLua-specific config files (.glua.json and .gluafmtrc.json) override them when there is a conflict.The glua.activation setting
Use glua.activation to decide when the language server starts. The default is auto-detect, which activates only when GLua files are present in the workspace.
When the server is active, the VS Code status bar shows the current realm:
GLua · Server, GLua · Client, GLua · Shared, or Plain Lua. You can toggle activation manually through the command palette if the auto-detection guess is wrong.