aboutsummaryrefslogtreecommitdiffstats
path: root/syntax
diff options
context:
space:
mode:
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