aboutsummaryrefslogtreecommitdiffstats
path: root/syntax
diff options
context:
space:
mode:
Diffstat (limited to 'syntax')
-rw-r--r--syntax/beancount.vim3
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