aboutsummaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml11
1 files changed, 11 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index 74c01da5..041d1564 100644
--- a/languages.toml
+++ b/languages.toml
@@ -602,3 +602,14 @@ scope = "source.iex"
injection-regex = "iex"
file-types = ["iex"]
roots = []
+
+[[language]]
+name = "rescript"
+scope = "source.rescript"
+injection-regex = "rescript"
+file-types = ["res"]
+roots = ["bsconfig.json"]
+auto-format = true
+comment-token = "//"
+language-server = { command = "rescript-language-server", args = ["--stdio"] }
+indent = { tab-width = 2, unit = " " }