From b463ee3dc9b7ae6d2ac20b508d0ee97f590a43bb Mon Sep 17 00:00:00 2001 From: Nathan Grigg Date: Thu, 22 Jan 2015 10:10:01 -0800 Subject: Allow hyphens in tags --- syntax/beancount.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax/beancount.vim b/syntax/beancount.vim index e67c73b..21aa4f1 100644 --- a/syntax/beancount.vim +++ b/syntax/beancount.vim @@ -17,7 +17,7 @@ syn match beanAmount "\v[-+]?[[:digit:].,]+" nextgroup=beanCurrency contained syn match beanCurrency "\v\w+" contained " Account name: alphanumeric with at least one colon. syn match beanAccount "\v[[:alnum:]]+:[-[:alnum:]:]+" contained -syn match beanTag "\v#[a-z]+" contained +syn match beanTag "\v#[-a-z]+" contained syn match beanLink "\v\^\S+" contained -- cgit v1.2.3-2-gb3c3