Add more shebangs to languages

This commit is contained in:
Blaž Hrastnik 2023-09-11 13:15:45 +09:00
parent 060e73a711
commit 95e994ab38
No known key found for this signature in database
GPG key ID: 1238B9C4AD889640

View file

@ -587,7 +587,7 @@ scope = "source.ts"
injection-regex = "(ts|typescript)" injection-regex = "(ts|typescript)"
file-types = ["ts", "mts", "cts"] file-types = ["ts", "mts", "cts"]
language-id = "typescript" language-id = "typescript"
shebangs = [] shebangs = ["deno", "ts-node"]
roots = [] roots = []
language-servers = [ "typescript-language-server" ] language-servers = [ "typescript-language-server" ]
indent = { tab-width = 2, unit = " " } indent = { tab-width = 2, unit = " " }
@ -821,6 +821,7 @@ name = "julia"
scope = "source.julia" scope = "source.julia"
injection-regex = "julia" injection-regex = "julia"
file-types = ["jl"] file-types = ["jl"]
shebangs = ["julia"]
roots = ["Manifest.toml", "Project.toml"] roots = ["Manifest.toml", "Project.toml"]
comment-token = "#" comment-token = "#"
language-servers = [ "julia" ] language-servers = [ "julia" ]
@ -834,7 +835,7 @@ source = { git = "https://github.com/tree-sitter/tree-sitter-julia", rev = "8fb3
name = "java" name = "java"
scope = "source.java" scope = "source.java"
injection-regex = "java" injection-regex = "java"
file-types = ["java"] file-types = ["java", "jav"]
roots = ["pom.xml", "build.gradle", "build.gradle.kts"] roots = ["pom.xml", "build.gradle", "build.gradle.kts"]
language-servers = [ "jdtls" ] language-servers = [ "jdtls" ]
indent = { tab-width = 2, unit = " " } indent = { tab-width = 2, unit = " " }
@ -874,7 +875,7 @@ name = "ocaml"
scope = "source.ocaml" scope = "source.ocaml"
injection-regex = "ocaml" injection-regex = "ocaml"
file-types = ["ml"] file-types = ["ml"]
shebangs = [] shebangs = ["ocaml", "ocamlrun", "ocamlscript"]
roots = [] roots = []
comment-token = "(**)" comment-token = "(**)"
language-servers = [ "ocamllsp" ] language-servers = [ "ocamllsp" ]
@ -1824,6 +1825,7 @@ name = "scheme"
scope = "source.scheme" scope = "source.scheme"
injection-regex = "scheme" injection-regex = "scheme"
file-types = ["ss", "scm"] file-types = ["ss", "scm"]
shebangs = ["scheme", "guile", "chicken"]
roots = [] roots = []
comment-token = ";" comment-token = ";"
indent = { tab-width = 2, unit = " " } indent = { tab-width = 2, unit = " " }