aboutsummaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorrsteube2022-07-03 21:19:12 +0000
committerGitHub2022-07-03 21:19:12 +0000
commit4c30a3609aa8fbcca97609d281f5df449c234674 (patch)
treec1c792e88ecd236321dd1307d1129045e03c2724 /languages.toml
parent9f43dbc45d254ff860f7d33db201b2f0a6073195 (diff)
languages: added elvish (#2948)
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml14
1 files changed, 14 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index 0b4a1dec..c9ecc76f 100644
--- a/languages.toml
+++ b/languages.toml
@@ -1489,3 +1489,17 @@ roots = []
comment-token = "#"
indent = { tab-width = 4, unit = " " }
grammar = "python"
+
+[[language]]
+name = "elvish"
+scope = "source.elvish"
+file-types = ["elv"]
+roots = []
+comment-token = "#"
+indent = { tab-width = 2, unit = " " }
+language-server = { command = "elvish", args = ["-lsp"] }
+grammar = "elvish"
+
+[[grammar]]
+name = "elvish"
+source = { git = "https://github.com/ckafi/tree-sitter-elvish", rev = "e50787cadd3bc54f6d9c0704493a79078bb8a4e5" }