File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,8 @@ syn match ledgerDirective
52
52
\ /^\%(alias\|assert\|bucket\|capture\|check\|define\|expr\|fixed\|include\|year\)\s/
53
53
syn match ledgerOneCharDirective / ^\% (P\| A\| Y\| N\| D\| C\)\s /
54
54
55
+ syn region ledgerBlockComment start =/ ^comment/ end =/ ^end comment/
56
+ syn region ledgerBlockTest start =/ ^test/ end =/ ^end test/
55
57
syn match ledgerComment / ^;.*$/
56
58
" comments at eol must be preceded by at least 2 spaces / 1 tab
57
59
syn region ledgerMetadata start =/ \% ( \|\t\| ^\s\+\) ;/ skip =/ ^\s\+ ;/ end =/ ^/
@@ -74,6 +76,8 @@ exe 'syn match ledgerApplyHead '.
74
76
\ ' /' .s: oe .' \%(^apply\s\+\)\@<=\S.*$/ contained'
75
77
76
78
highlight default link ledgerComment Comment
79
+ highlight default link ledgerBlockComment Comment
80
+ highlight default link ledgerBlockTest Comment
77
81
highlight default link ledgerTransactionDate Constant
78
82
highlight default link ledgerTransactionExpression Statement
79
83
highlight default link ledgerMetadata Tag
You can’t perform that action at this time.
0 commit comments