aboutsummaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-11-21 11:06:45 +0000
committerBlaž Hrastnik2021-11-21 11:06:45 +0000
commitd1854d8e6af07cd78ab6c24c859a4471afb3514e (patch)
tree301e4212e7fc88dd5f626f884bd78b700cf3e4a6 /languages.toml
parent8b85903116fdfdc177bf2ca171831674144de70a (diff)
parentb95c9470de9f9199f109fdbfb6ec9a951fbe8866 (diff)
Merge remote-tracking branch 'origin/master' into debug
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml41
1 files changed, 41 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index 56d91a81..2b39c4c8 100644
--- a/languages.toml
+++ b/languages.toml
@@ -60,6 +60,7 @@ name = "elixir"
scope = "source.elixir"
injection-regex = "elixir"
file-types = ["ex", "exs"]
+shebangs = ["elixir"]
roots = []
comment-token = "#"
@@ -67,6 +68,18 @@ language-server = { command = "elixir-ls" }
indent = { tab-width = 2, unit = " " }
[[language]]
+name = "mint"
+scope = "source.mint"
+injection-regex = "mint"
+file-types = ["mint"]
+shebangs = []
+roots = []
+comment-token = "//"
+
+language-server = { command = "mint", args = ["ls"] }
+indent = { tab-width = 2, unit = " " }
+
+[[language]]
name = "json"
scope = "source.json"
injection-regex = "json"
@@ -202,6 +215,7 @@ name = "javascript"
scope = "source.js"
injection-regex = "^(js|javascript)$"
file-types = ["js", "mjs"]
+shebangs = ["node"]
roots = []
comment-token = "//"
# TODO: highlights-jsx, highlights-params
@@ -225,6 +239,7 @@ name = "typescript"
scope = "source.ts"
injection-regex = "^(ts|typescript)$"
file-types = ["ts"]
+shebangs = []
roots = []
# TODO: highlights-jsx, highlights-params
@@ -265,6 +280,7 @@ name = "python"
scope = "source.python"
injection-regex = "python"
file-types = ["py"]
+shebangs = ["python"]
roots = []
comment-token = "#"
@@ -277,6 +293,7 @@ name = "nix"
scope = "source.nix"
injection-regex = "nix"
file-types = ["nix"]
+shebangs = []
roots = []
comment-token = "#"
@@ -288,6 +305,7 @@ name = "ruby"
scope = "source.ruby"
injection-regex = "ruby"
file-types = ["rb"]
+shebangs = ["ruby"]
roots = []
comment-token = "#"
@@ -299,6 +317,7 @@ name = "bash"
scope = "source.bash"
injection-regex = "bash"
file-types = ["sh", "bash"]
+shebangs = ["sh", "bash", "dash"]
roots = []
comment-token = "#"
@@ -310,6 +329,7 @@ name = "php"
scope = "source.php"
injection-regex = "php"
file-types = ["php"]
+shebangs = ["php"]
roots = []
indent = { tab-width = 4, unit = " " }
@@ -371,6 +391,7 @@ name = "ocaml"
scope = "source.ocaml"
injection-regex = "ocaml"
file-types = ["ml"]
+shebangs = []
roots = []
comment-token = "(**)"
indent = { tab-width = 2, unit = " " }
@@ -379,6 +400,7 @@ indent = { tab-width = 2, unit = " " }
name = "ocaml-interface"
scope = "source.ocaml.interface"
file-types = ["mli"]
+shebangs = []
roots = []
comment-token = "(**)"
indent = { tab-width = 2, unit = " "}
@@ -387,6 +409,7 @@ indent = { tab-width = 2, unit = " "}
name = "lua"
scope = "source.lua"
file-types = ["lua"]
+shebangs = ["lua"]
roots = []
comment-token = "--"
indent = { tab-width = 2, unit = " " }
@@ -444,6 +467,7 @@ name = "prolog"
scope = "source.prolog"
roots = []
file-types = ["pl", "prolog"]
+shebangs = ["swipl"]
comment-token = "%"
language-server = { command = "swipl", args = [
@@ -467,3 +491,20 @@ roots = []
comment-token = "#"
indent = { tab-width = 2, unit = " " }
language-server = { command = "cmake-language-server" }
+
+[[language]]
+name = "glsl"
+scope = "source.glsl"
+file-types = ["glsl", "vert", "tesc", "tese", "geom", "frag", "comp" ]
+roots = []
+comment-token = "//"
+indent = { tab-width = 4, unit = " " }
+
+[[language]]
+name = "perl"
+scope = "source.perl"
+file-types = ["pl", "pm"]
+shebangs = ["perl"]
+roots = []
+comment-token = "#"
+indent = { tab-width = 2, unit = " " }