From 72c2b1dc64c69f95051855fb9262b2818bb8cd85 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Mon, 4 Jul 2016 22:25:37 +0900 Subject: placeholder --- syntax/stpl.vim | 6 ++++-- 1 file 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 -- cgit v1.2.3-54-g00ecf