aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2016-07-04 22:25:37 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2016-07-04 22:25:37 +0900
commit72c2b1dc64c69f95051855fb9262b2818bb8cd85 (patch)
tree5349cd5b9a6102469cd12a998a1db1b1a38a6708
parent759ac67b41d9cb7185b40cd84773fce5caa5b3eb (diff)
downloadvim-sonictemplate-72c2b1dc64c69f95051855fb9262b2818bb8cd85.tar.gz
vim-sonictemplate-72c2b1dc64c69f95051855fb9262b2818bb8cd85.tar.bz2
vim-sonictemplate-72c2b1dc64c69f95051855fb9262b2818bb8cd85.zip
placeholder
-rw-r--r--syntax/stpl.vim6
1 files changed, 4 insertions, 2 deletions
diff --git a/syntax/stpl.vim b/syntax/stpl.vim
index 62e6683..b1c10e0 100644
--- a/syntax/stpl.vim
+++ b/syntax/stpl.vim
@@ -1,5 +1,7 @@
syn clear
-syn match stplPattern "^\S.*$"
-syn match stplSnippet "^\t.*$"
+syn match stplPattern /^\S.*$/
+syn match stplSnippet /^\t.*$/ contains=stplPlaceHolder
+syn region stplPlaceHolder start="{{" end="}}"
hi def link stplPattern Special
+hi def link stplPlaceHolder Keyword