From aebc432ac4e81fd058e2df968b158fb35341e0e5 Mon Sep 17 00:00:00 2001 From: Nathan Grigg Date: Sat, 4 Apr 2015 12:58:36 -0700 Subject: Highlight tag part of pushtag/poptag --- syntax/beancount.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'syntax/beancount.vim') 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 -- cgit v1.2.3-2-gb3c3