diff options
author | Nathan Grigg | 2015-01-22 10:10:01 -0800 |
---|---|---|
committer | Nathan Grigg | 2015-01-22 10:10:01 -0800 |
commit | b463ee3dc9b7ae6d2ac20b508d0ee97f590a43bb (patch) | |
tree | 79f43e9804525a50775a25116dd1e6b8bbb818f1 /syntax | |
parent | ce82776dfbec64dc55136ca6863f57603309fe66 (diff) | |
download | vim-beancount-b463ee3dc9b7ae6d2ac20b508d0ee97f590a43bb.tar.gz |
Allow hyphens in tags
Diffstat (limited to '')
-rw-r--r-- | syntax/beancount.vim | 2 |
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 |