Skip to content

Commit

Permalink
Add more shebangs to languages
Browse files Browse the repository at this point in the history
  • Loading branch information
archseer committed Sep 11, 2023
1 parent 060e73a commit 95e994a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = " " }
Expand Down Expand Up @@ -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" ]
Expand All @@ -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 = " " }
Expand Down Expand Up @@ -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" ]
Expand Down Expand Up @@ -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 = " " }
Expand Down

0 comments on commit 95e994a

Please sign in to comment.