diff options
author | Konstantin Mikhailov | 2016-09-16 09:57:55 +0000 |
---|---|---|
committer | Nathan Grigg | 2016-09-30 19:36:33 -0700 |
commit | ca19083bf5ac0f34f96509e7e62349550faa5535 (patch) | |
tree | 55443661cf18c5566f7a671365b4089105f2bfe9 /syntax | |
parent | e831cf0390c296159378d1d10ecd770dedb86ebd (diff) | |
download | vim-beancount-ca19083bf5ac0f34f96509e7e62349550faa5535.tar.gz |
Fix highlight of txn directive
txn directive is mutually exclusive with flags (!*)
Diffstat (limited to 'syntax')
-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 5a45742..814c3f3 100644 --- a/syntax/beancount.vim +++ b/syntax/beancount.vim @@ -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(txn)?\s+[*!]" skip="^\s" +syn region beanTxn matchgroup=beanKeyword start="\v\s+(txn|[*!])" skip="^\s" \ end="^" keepend contained fold \ contains=beanString,beanPost,beanComment,beanTag,beanLink,beanMeta syn region beanPost start="^\v\C\s+[A-Z]@=" end="$" |