aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Grigg2014-11-01 08:57:26 -0700
committerNathan Grigg2014-11-01 08:57:26 -0700
commitfb1de6cff1324b7b1fd8101a99bccbd232016ca1 (patch)
treeec66d091ec5803e8b601e07e1abc69464dace448
parent5dc877c7a0d229720c5c6225349a9afd25d227b8 (diff)
downloadvim-beancount-fb1de6cff1324b7b1fd8101a99bccbd232016ca1.tar.gz
Add price command to syntax defintion
-rw-r--r--syntax/beancount.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/beancount.vim b/syntax/beancount.vim
index fd7d18a..8d8bda5 100644
--- a/syntax/beancount.vim
+++ b/syntax/beancount.vim
@@ -36,7 +36,7 @@ syn region beanClose matchgroup=beanKeyword start="close" end="$"
\ contains=beanAccount,beanComment
syn region beanNote matchgroup=beanKeyword start="\vnote|document" end="$"
\ contains=beanAccount,beanString,beanComment
-syn region beanBalance matchgroup=beanKeyword start="balance" end="$"
+syn region beanBalance matchgroup=beanKeyword start="balance\|price" end="$"
\ contains=beanAccount,beanAmount,beanComment
syn keyword beanKeyword pushtag poptag
syn region beanPad matchgroup=beanKeyword start="^pad" end="$"