30 lines · 978 B · Markdown
RawDownload

Lua

Lua support is available through the Lua extension.

luarc.json

To configure LuaLS you can create a .luarc.json file in the root of your workspace.

See LuaLS Settings Documentation for all available configuration options.

{
  "$schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json",
  "runtime.version": "Lua 5.4",
  "diagnostics.severity": {
    //      "duplicate-set-field": "Hint"
  },
  "format.defaultConfig": {
    "indent_style": "space",
    "indent_size": "4"
  },
  // Location(s) of any LuaCATS / EmmyLua annotation stubs
  "workspace.library": [
    //    "path/to/library/directory"
  ]
}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t