aboutsummaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authoroberblastmeister2021-09-01 16:08:08 +0000
committerGitHub2021-09-01 16:08:08 +0000
commit5766f5da8fc9e98320e7e765c47e701d72108028 (patch)
treec65b2f9ca410983256a80509838fb28f0482a14f /languages.toml
parent825bceeab68276cdf120bda5d172b854867d8585 (diff)
OCaml support (#666)
* added some stuff * add interface * indent * highlights and locals * scope * change some stuff * add indents * fix blanket highlight * macro * use inherits
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml17
1 files changed, 17 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index 7164c4df..c04435fe 100644
--- a/languages.toml
+++ b/languages.toml
@@ -225,6 +225,23 @@ comment-token = ";"
indent = { tab-width = 4, unit = " " }
[[language]]
+name = "ocaml"
+scope = "source.ocaml"
+injection-regex = "ocaml"
+file-types = ["ml"]
+roots = []
+comment-token = "(**)"
+indent = { tab-width = 2, unit = " " }
+
+[[language]]
+name = "ocaml-interface"
+scope = "source.ocaml.interface"
+file-types = ["mli"]
+roots = []
+comment-token = "(**)"
+indent = { tab-width = 2, unit = " "}
+
+[[language]]
name = "lua"
scope = "source.lua"
file-types = ["lua"]