aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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