diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2016-07-04 22:25:37 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2016-07-04 22:25:37 +0900 |
commit | 72c2b1dc64c69f95051855fb9262b2818bb8cd85 (patch) | |
tree | 5349cd5b9a6102469cd12a998a1db1b1a38a6708 | |
parent | 759ac67b41d9cb7185b40cd84773fce5caa5b3eb (diff) | |
download | vim-sonictemplate-72c2b1dc64c69f95051855fb9262b2818bb8cd85.tar.gz vim-sonictemplate-72c2b1dc64c69f95051855fb9262b2818bb8cd85.tar.bz2 vim-sonictemplate-72c2b1dc64c69f95051855fb9262b2818bb8cd85.zip |
placeholder
-rw-r--r-- | syntax/stpl.vim | 6 |
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 |