aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Grigg2015-12-09 06:26:45 -0800
committerNathan Grigg2015-12-09 06:26:45 -0800
commitaad3db169d6057e11ceafa6a2dbe1ac34bbf49e4 (patch)
tree257ec0550b43d36d56113f63dbb9f0bf920d63c3
parentb68207234f1139135e70d32740a078ff4d423bc0 (diff)
parent6e267572736945df26cb0dc2b222c33701deb7e3 (diff)
downloadvim-beancount-aad3db169d6057e11ceafa6a2dbe1ac34bbf49e4.tar.gz
Merge pull request #10 from yegle/include-highlight
Highlight `include` keyword
-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