diff options
author | Nathan Grigg | 2016-11-11 16:29:29 -0800 |
---|---|---|
committer | Nathan Grigg | 2016-11-11 16:29:29 -0800 |
commit | 91986032f24c860ba502234de311b48f1116b543 (patch) | |
tree | 1b0b82491c351f355da1999f5ee78cca621427fc /syntax | |
parent | 0b9b6d78b4dc8de56a34c7908c3f47dbb86ceea7 (diff) | |
parent | c12e3b2bf4b9f90f85fcbdfd7e1a9229e6f70bb4 (diff) | |
download | vim-beancount-91986032f24c860ba502234de311b48f1116b543.tar.gz |
Merge branch 'pull30'
Diffstat (limited to 'syntax')
-rw-r--r-- | syntax/beancount.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/syntax/beancount.vim b/syntax/beancount.vim index fd61d81..e75ebc1 100644 --- a/syntax/beancount.vim +++ b/syntax/beancount.vim @@ -19,7 +19,7 @@ syn match beanCurrency "\v\w+" contained syn match beanAccount "\v[[:alnum:]]+:[-[:alnum:]:]+" contained syn match beanTag "\v#[-[:alnum:]]+" contained syn match beanLink "\v\^\S+" contained -syn match beanFlag "\v[!&#?%PSTCURM]" contained +syn match beanFlag "\v[*!&#?%PSTCURM]" contained " Most directives start with a date. syn match beanDate "^\v\d{4}[-/]\d{2}[-/]\d{2}" skipwhite @@ -51,7 +51,7 @@ syn region beanPushTag matchgroup=beanKeyword start="\v^(push|pop)tag" end="$" syn region beanPad matchgroup=beanKeyword start="pad" end="$" contained \ keepend contains=beanAccount,beanComment -syn region beanTxn matchgroup=beanKeyword start="\v\s+(txn|[!&#?%PSTCURM])" skip="^\s" +syn region beanTxn matchgroup=beanKeyword start="\v\s+(txn|[*!&#?%PSTCURM])" skip="^\s" \ end="^" keepend contained fold \ contains=beanString,beanPost,beanComment,beanTag,beanLink,beanMeta syn region beanPost start="^\v\C\s+(([!&#?%PSTCURM]\s+)?[A-Z])@=" end="$" |