Add lua lsp (#2560)
This commit is contained in:
parent
c429ed660f
commit
386dccc84e
2 changed files with 3 additions and 2 deletions
|
@ -50,7 +50,7 @@
|
||||||
| llvm | ✓ | ✓ | ✓ | |
|
| llvm | ✓ | ✓ | ✓ | |
|
||||||
| llvm-mir | ✓ | ✓ | ✓ | |
|
| llvm-mir | ✓ | ✓ | ✓ | |
|
||||||
| llvm-mir-yaml | ✓ | | ✓ | |
|
| llvm-mir-yaml | ✓ | | ✓ | |
|
||||||
| lua | ✓ | | ✓ | |
|
| lua | ✓ | | ✓ | `lua-language-server` |
|
||||||
| make | ✓ | | | |
|
| make | ✓ | | | |
|
||||||
| markdown | ✓ | | | |
|
| markdown | ✓ | | | |
|
||||||
| meson | ✓ | | ✓ | |
|
| meson | ✓ | | ✓ | |
|
||||||
|
|
|
@ -605,9 +605,10 @@ name = "lua"
|
||||||
scope = "source.lua"
|
scope = "source.lua"
|
||||||
file-types = ["lua"]
|
file-types = ["lua"]
|
||||||
shebangs = ["lua"]
|
shebangs = ["lua"]
|
||||||
roots = []
|
roots = [".luarc.json", ".luacheckrc", ".stylua.toml", "selene.toml", ".git"]
|
||||||
comment-token = "--"
|
comment-token = "--"
|
||||||
indent = { tab-width = 2, unit = " " }
|
indent = { tab-width = 2, unit = " " }
|
||||||
|
language-server = { command = "lua-language-server", args = [] }
|
||||||
|
|
||||||
[[grammar]]
|
[[grammar]]
|
||||||
name = "lua"
|
name = "lua"
|
||||||
|
|
Loading…
Reference in a new issue