on master help sign in
Add more shebangs to languages
95e994aBlaž Hrastnik
languages.toml+5−3
@@ -587,7 +587,7 @@ scope = "source.ts"
587injection-regex = "(ts|typescript)"
587injection-regex = "(ts|typescript)"
588file-types = ["ts", "mts", "cts"]
588file-types = ["ts", "mts", "cts"]
589language-id = "typescript"
589language-id = "typescript"
590−shebangs = []
590+shebangs = ["deno", "ts-node"]
591roots = []
591roots = []
592language-servers = [ "typescript-language-server" ]
592language-servers = [ "typescript-language-server" ]
593indent = { tab-width = 2, unit = " " }
593indent = { tab-width = 2, unit = " " }
@@ -821,6 +821,7 @@ name = "julia"
821scope = "source.julia"
821scope = "source.julia"
822injection-regex = "julia"
822injection-regex = "julia"
823file-types = ["jl"]
823file-types = ["jl"]
824+shebangs = ["julia"]
824roots = ["Manifest.toml", "Project.toml"]
825roots = ["Manifest.toml", "Project.toml"]
825comment-token = "#"
826comment-token = "#"
826language-servers = [ "julia" ]
827language-servers = [ "julia" ]
@@ -834,7 +835,7 @@ source = { git = "https://github.com/tree-sitter/tree-sitter-julia", rev = "8fb3
834name = "java"
835name = "java"
835scope = "source.java"
836scope = "source.java"
836injection-regex = "java"
837injection-regex = "java"
837−file-types = ["java"]
838+file-types = ["java", "jav"]
838roots = ["pom.xml", "build.gradle", "build.gradle.kts"]
839roots = ["pom.xml", "build.gradle", "build.gradle.kts"]
839language-servers = [ "jdtls" ]
840language-servers = [ "jdtls" ]
840indent = { tab-width = 2, unit = " " }
841indent = { tab-width = 2, unit = " " }
@@ -874,7 +875,7 @@ name = "ocaml"
874scope = "source.ocaml"
875scope = "source.ocaml"
875injection-regex = "ocaml"
876injection-regex = "ocaml"
876file-types = ["ml"]
877file-types = ["ml"]
877−shebangs = []
878+shebangs = ["ocaml", "ocamlrun", "ocamlscript"]
878roots = []
879roots = []
879comment-token = "(**)"
880comment-token = "(**)"
880language-servers = [ "ocamllsp" ]
881language-servers = [ "ocamllsp" ]
@@ -1824,6 +1825,7 @@ name = "scheme"
1824scope = "source.scheme"
1825scope = "source.scheme"
1825injection-regex = "scheme"
1826injection-regex = "scheme"
1826file-types = ["ss", "scm"]
1827file-types = ["ss", "scm"]
1828+shebangs = ["scheme", "guile", "chicken"]
1827roots = []
1829roots = []
1828comment-token = ";"
1830comment-token = ";"
1829indent = { tab-width = 2, unit = " " }
1831indent = { tab-width = 2, unit = " " }