mirror of
https://github.com/helix-editor/helix
synced 2024-11-10 10:34:45 +01:00
Add more shebangs to languages
This commit is contained in:
parent
060e73a711
commit
95e994ab38
@ -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 = " " }
|
||||
|
Loading…
Reference in New Issue
Block a user