diff options
author | Nathan Grigg | 2015-04-04 12:58:36 -0700 |
---|---|---|
committer | Nathan Grigg | 2015-04-04 13:00:22 -0700 |
commit | aebc432ac4e81fd058e2df968b158fb35341e0e5 (patch) | |
tree | 3646fbc84504a88f37478e143e43ef2f0bbb353e | |
parent | f5b5b89bb617eea49dcac07996ce95fdb32e4b71 (diff) | |
download | vim-beancount-aebc432ac4e81fd058e2df968b158fb35341e0e5.tar.gz |
Highlight tag part of pushtag/poptag
-rw-r--r-- | syntax/beancount.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/syntax/beancount.vim b/syntax/beancount.vim index e1685ad..04e72ea 100644 --- a/syntax/beancount.vim +++ b/syntax/beancount.vim @@ -44,7 +44,8 @@ syn region beanBalance matchgroup=beanKeyword start="balance" end="$" contained \ keepend contains=beanAccount,beanAmount,beanComment syn region beanPrice matchgroup=beanKeyword start="price" end="$" contained \ keepend contains=beanCurrency,beanAmount -syn keyword beanKeyword pushtag poptag +syn region beanPushTag matchgroup=beanKeyword start="\v^(push|pop)tag" end="$" + \ keepend contains=beanTag syn region beanPad matchgroup=beanKeyword start="pad" end="$" contained \ keepend contains=beanAccount,beanComment |