aboutsummaryrefslogtreecommitdiffstats
path: root/syntax/beancount.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/beancount.vim')
-rw-r--r--syntax/beancount.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/beancount.vim b/syntax/beancount.vim
index f8ca84a..e67c73b 100644
--- a/syntax/beancount.vim
+++ b/syntax/beancount.vim
@@ -16,7 +16,7 @@ syn match beanAmount "\v[-+]?[[:digit:].,]+" nextgroup=beanCurrency contained
\ skipwhite
syn match beanCurrency "\v\w+" contained
" Account name: alphanumeric with at least one colon.
-syn match beanAccount "\v[[:alnum:]]+:[[:alnum:]:]+" contained
+syn match beanAccount "\v[[:alnum:]]+:[-[:alnum:]:]+" contained
syn match beanTag "\v#[a-z]+" contained
syn match beanLink "\v\^\S+" contained