diff --git a/natural/Natural.tmLanguage.json b/natural/Natural.tmLanguage.json index 79485d4..216cf4c 100644 --- a/natural/Natural.tmLanguage.json +++ b/natural/Natural.tmLanguage.json @@ -22,8 +22,9 @@ { "include": "#hex-literal" }, { "include": "#system-vars" }, { "include": "#inline-comment" }, - { "include": "#perform-subroutine" }, + { "include": "#inline-comment-workaround" }, { "include": "#line-comment" }, + { "include": "#perform-subroutine" }, { "include": "#labels" } ], "repository": { @@ -119,6 +120,11 @@ "begin": "/\\*(?!\\)|:)", "end": "$" }, + "inline-comment-workaround": { + "name": "comment.block.natural", + "begin": "^/\\*\\)", + "end": "$" + }, "line-comment": { "name": "comment.line.natural", "begin": "^\\*[\\s\\*]+",