summaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorErasin2022-05-24 15:03:53 +0000
committerGitHub2022-05-24 15:03:53 +0000
commit386dccc84ed4cdeea6a9aed727c04bbb0facc374 (patch)
tree7bceadfc73bf89c437baf68f3da91bd4807845c2 /languages.toml
parentc429ed660f62e59f0c00115efd03543f3ae3ba8f (diff)
Add lua lsp (#2560)
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml3
1 files changed, 2 insertions, 1 deletions
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"