aboutsummaryrefslogtreecommitdiffstats
path: root/syntax
diff options
context:
space:
mode:
authorYuchen Ying2015-12-08 22:03:24 -0800
committerYuchen Ying2015-12-08 22:03:24 -0800
commit6e267572736945df26cb0dc2b222c33701deb7e3 (patch)
tree257ec0550b43d36d56113f63dbb9f0bf920d63c3 /syntax
parentb68207234f1139135e70d32740a078ff4d423bc0 (diff)
downloadvim-beancount-6e267572736945df26cb0dc2b222c33701deb7e3.tar.gz
Highlight `include` keyword
Diffstat (limited to 'syntax')
-rw-r--r--syntax/beancount.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/syntax/beancount.vim b/syntax/beancount.vim
index 04e72ea..4cf0704 100644
--- a/syntax/beancount.vim
+++ b/syntax/beancount.vim
@@ -30,6 +30,8 @@ syn region beanOption matchgroup=beanKeyword start="^option" end="$"
\ keepend contains=beanOptionTitle,beanComment
syn region beanOption matchgroup=beanKeyword start="^plugin" end="$"
\ keepend contains=beanString,beanComment
+syn region beanInclude matchgroup=beanKeyword start="^include" end="$"
+ \ keepend contains=beanString,beanComment
syn region beanEvent matchgroup=beanKeyword start="event" end="$" contained
\ keepend contains=beanOptionTitle,beanComment
syn region beanOptionTitle start='"' skip='\\"' end='"' contained