diff --git a/syntaxes/hledger.tmLanguage.json b/syntaxes/hledger.tmLanguage.json index 2ce67ca..da33fd7 100644 --- a/syntaxes/hledger.tmLanguage.json +++ b/syntaxes/hledger.tmLanguage.json @@ -64,6 +64,11 @@ "patterns": [ { "name": "comment.line", + "begin": "^[#;\\*]", + "end": "$" + }, + { + "name": "comment.inline", "begin": "[#;]", "end": "$", "patterns": [ @@ -72,6 +77,11 @@ "match": "[-\\w]+:[^,]*" } ] + }, + { + "name": "comment.blocks", + "begin": "^comment$", + "end": "^end comment$" } ] },