Initial zed_marte language extension

This commit is contained in:
Martino Ferrari
2026-05-07 15:24:36 +02:00
commit 33dda6a291
11 changed files with 631 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
name = "MARTe"
grammar = "marte"
path_suffixes = ["marte"]
line_comments = ["// "]
autoclose_before = "}])"
brackets = [
{ start = "(", end = ")", close = true, newline = true },
{ start = "[", end = "]", close = true, newline = true },
{ start = "{", end = "}", close = true, newline = true },
]
language_servers = ["mdt"]
+17
View File
@@ -0,0 +1,17 @@
(property) @property
(attribute) @attribute
(marte_common) @keyword
(app) @function
(string_literal) @string
(definition) @constructor
(builtintype) @type.builtin
(number) @number
(comment) @comment
(assign) @operator
(obrace) @punctuation.bracket
(cbrace) @punctuation.bracket
(opar) @punctuation.bracket
(cpar) @punctuation.bracket
(vbar) @operator
(comma) @punctuation.delimiter