Skip to content

Lua Language Server | Home

annotation

configuration

https://luals.github.io/wiki/configuration/#luarcjson-file

workspace/.luarc.json

https://github.com/LuaLS/vscode-lua/blob/master/setting/schema-ja-jp.json

luv(standalone)

json
{
  "version": "LuaJIT",
  "workspace": {
    "library": ["${3rd}/luv/library"]
  }
}
lua
---@type uv
local uv = require "luv"

love2d

json
{
  "version": "LuaJIT",
  "workspace": {
    "library": ["${3rd}/love2d/library"]
  }
}

nvim