aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlaž Hrastnik2023-09-11 04:15:45 +0000
committerBlaž Hrastnik2023-09-11 04:15:45 +0000
commit95e994ab3817b3803f0d25b10423de4ef74508d6 (patch)
treee3eb70ce15488033919315c24661b9080688ffd6
parent060e73a7110fe38cc6ed30ca0cc3abc686e225fa (diff)
Add more shebangs to languages
-rw-r--r--languages.toml8
1 files changed, 5 insertions, 3 deletions
diff --git a/languages.toml b/languages.toml
index 4d1e6fe0..85cc95d4 100644
--- a/languages.toml
+++ b/languages.toml
@@ -587,7 +587,7 @@ scope = "source.ts"
injection-regex = "(ts|typescript)"
file-types = ["ts", "mts", "cts"]
language-id = "typescript"
-shebangs = []
+shebangs = ["deno", "ts-node"]
roots = []
language-servers = [ "typescript-language-server" ]
indent = { tab-width = 2, unit = " " }
@@ -821,6 +821,7 @@ name = "julia"
scope = "source.julia"
injection-regex = "julia"
file-types = ["jl"]
+shebangs = ["julia"]
roots = ["Manifest.toml", "Project.toml"]
comment-token = "#"
language-servers = [ "julia" ]
@@ -834,7 +835,7 @@ source = { git = "https://github.com/tree-sitter/tree-sitter-julia", rev = "8fb3
name = "java"
scope = "source.java"
injection-regex = "java"
-file-types = ["java"]
+file-types = ["java", "jav"]
roots = ["pom.xml", "build.gradle", "build.gradle.kts"]
language-servers = [ "jdtls" ]
indent = { tab-width = 2, unit = " " }
@@ -874,7 +875,7 @@ name = "ocaml"
scope = "source.ocaml"
injection-regex = "ocaml"
file-types = ["ml"]
-shebangs = []
+shebangs = ["ocaml", "ocamlrun", "ocamlscript"]
roots = []
comment-token = "(**)"
language-servers = [ "ocamllsp" ]
@@ -1824,6 +1825,7 @@ name = "scheme"
scope = "source.scheme"
injection-regex = "scheme"
file-types = ["ss", "scm"]
+shebangs = ["scheme", "guile", "chicken"]
roots = []
comment-token = ";"
indent = { tab-width = 2, unit = " " }