From 8a3b21e2bf84806745b9c2defef6235c91e8a22a Mon Sep 17 00:00:00 2001 From: Marc Bernard <59966492+mbtools@users.noreply.github.com> Date: Mon, 8 Nov 2021 09:33:40 -0500 Subject: [PATCH] Add support for ABAP and ABAP CDS languages ABAP https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abencomment.htm ABAP CDS https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abencds_general_syntax_rules.htm Closes #85 --- syntax.json | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/syntax.json b/syntax.json index 7fd7f6c..e9c880f 100644 --- a/syntax.json +++ b/syntax.json @@ -484,5 +484,34 @@ "pattern": "//" } ] + }, + { + "language": "ABAP", + "markers": [ + { + "type": "line", + "pattern": "\"" + }, + { + "type": "line", + "pattern": "*" + } + ] + }, + { + "language": "ABAP CDS", + "markers": [ + { + "type": "line", + "pattern": "//" + }, + { + "type": "block", + "pattern": { + "start": "/\\*", + "end": "\\*/" + } + } + ] } ]