diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md index df4d36b5..908021cf 100644 --- a/book/src/generated/lang-support.md +++ b/book/src/generated/lang-support.md @@ -50,7 +50,7 @@ | llvm | ✓ | ✓ | ✓ | | | llvm-mir | ✓ | ✓ | ✓ | | | llvm-mir-yaml | ✓ | | ✓ | | -| lua | ✓ | | ✓ | | +| lua | ✓ | | ✓ | `lua-language-server` | | make | ✓ | | | | | markdown | ✓ | | | | | meson | ✓ | | ✓ | | diff --git a/languages.toml b/languages.toml index d3c4ef43..2c79b977 100644 --- a/languages.toml +++ b/languages.toml @@ -605,9 +605,10 @@ name = "lua" scope = "source.lua" file-types = ["lua"] shebangs = ["lua"] -roots = [] +roots = [".luarc.json", ".luacheckrc", ".stylua.toml", "selene.toml", ".git"] comment-token = "--" indent = { tab-width = 2, unit = " " } +language-server = { command = "lua-language-server", args = [] } [[grammar]] name = "lua"