diff options
author | Erasin | 2022-05-24 15:03:53 +0000 |
---|---|---|
committer | GitHub | 2022-05-24 15:03:53 +0000 |
commit | 386dccc84ed4cdeea6a9aed727c04bbb0facc374 (patch) | |
tree | 7bceadfc73bf89c437baf68f3da91bd4807845c2 | |
parent | c429ed660f62e59f0c00115efd03543f3ae3ba8f (diff) |
Add lua lsp (#2560)
-rw-r--r-- | book/src/generated/lang-support.md | 2 | ||||
-rw-r--r-- | languages.toml | 3 |
2 files changed, 3 insertions, 2 deletions
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" |