aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmine Hmida2022-04-01 08:08:34 +0000
committerGitHub2022-04-01 08:08:34 +0000
commitd0ff2ffd891eb9d674840fdff896e6f26dc60ca5 (patch)
tree8f43742d043c7c739769bdd39112c50ab1ca9ffb
parenta9635659f7d0dbbf2f11552842cf789ce1797914 (diff)
Add support for jsx (#1906)
* Add support for javascriptreact language * Add support for jsx files
-rw-r--r--languages.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml
index 3439d7f0..3a61ea44 100644
--- a/languages.toml
+++ b/languages.toml
@@ -266,7 +266,7 @@ source = { git = "https://github.com/tree-sitter/tree-sitter-go", rev = "0fa917a
name = "javascript"
scope = "source.js"
injection-regex = "^(js|javascript)$"
-file-types = ["js", "mjs"]
+file-types = ["js", "jsx", "mjs"]
shebangs = ["node"]
roots = []
comment-token = "//"