aboutsummaryrefslogtreecommitdiffstats
path: root/syntax
diff options
context:
space:
mode:
authorNathan Grigg2015-01-22 10:10:01 -0800
committerNathan Grigg2015-01-22 10:10:01 -0800
commitb463ee3dc9b7ae6d2ac20b508d0ee97f590a43bb (patch)
tree79f43e9804525a50775a25116dd1e6b8bbb818f1 /syntax
parentce82776dfbec64dc55136ca6863f57603309fe66 (diff)
downloadvim-beancount-b463ee3dc9b7ae6d2ac20b508d0ee97f590a43bb.tar.gz
Allow hyphens in tags
Diffstat (limited to '')
-rw-r--r--syntax/beancount.vim2
1 files changed, 1 insertions, 1 deletions
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