diff options
author | Nathan Grigg | 2016-04-24 14:48:23 -0700 |
---|---|---|
committer | Nathan Grigg | 2016-04-24 14:48:23 -0700 |
commit | 1ca5de509aa509b372cfb49cecce7aa49926ae05 (patch) | |
tree | ddb039b6e3ccb75cbdea1576945e8dc1480c6635 /syntax | |
parent | cdeb7e632e62122cfdaca1d2ca993ad8be88729b (diff) | |
parent | 5bf9f48aeead1c79dd1110d28c6b7b6d375f71bf (diff) | |
download | vim-beancount-1ca5de509aa509b372cfb49cecce7aa49926ae05.tar.gz |
Merge pull request #13 from wzyboy
Diffstat (limited to '')
-rw-r--r-- | syntax/beancount.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/beancount.vim b/syntax/beancount.vim index fa7abf3..d3cccfd 100644 --- a/syntax/beancount.vim +++ b/syntax/beancount.vim @@ -56,7 +56,7 @@ syn region beanTxn matchgroup=beanKeyword start="\v(txn)?\s+[*!]" skip="^\s" \ contains=beanString,beanPost,beanComment,beanTag,beanLink,beanMeta syn region beanPost start="^\v\C\s+[A-Z]@=" end="$" \ contains=beanAccount,beanAmount,beanComment,beanCost,beanPrice -syn region beanMeta matchgroup=beanTag start="^\v\C\s+[-a-z]+:(\s|$)@=" end="$" +syn region beanMeta matchgroup=beanTag start="^\v\C\s+[a-z][-_a-zA-Z0-9]*:(\s|$)@=" end="$" syn region beanCost start="{" end="}" contains=beanAmount contained syn match beanPrice "\V@@\?" nextgroup=beanAmount contained |