Initial zed_marte language extension
This commit is contained in:
@@ -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"]
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user