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 b1c0f479..c1ddbea2 100644
--- a/languages.toml
+++ b/languages.toml
@@ -117,6 +117,17 @@ language-server = { command = "typescript-language-server", args = ["--stdio"] }
indent = { tab-width = 2, unit = " " }
[[language]]
+name = "tsx"
+scope = "source.tsx"
+injection-regex = "^(tsx)$" # |typescript
+file-types = ["tsx"]
+roots = []
+# TODO: highlights-jsx, highlights-params
+
+language-server = { command = "typescript-language-server", args = ["--stdio"] }
+indent = { tab-width = 2, unit = " " }
+
+[[language]]
name = "css"
scope = "source.css"
injection-regex = "css"