aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2016-07-01 23:39:26 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2016-07-01 23:39:26 +0900
commit7482fc53804b9925fc5352cd99f9ce7f239c36e5 (patch)
tree3e67d6bf950a3ce6c87c1829f8729c000d4bd7ce
parent3dddc8f45e491877480a2cac0bcba21d6f844ba4 (diff)
downloadvim-sonictemplate-7482fc53804b9925fc5352cd99f9ce7f239c36e5.tar.gz
vim-sonictemplate-7482fc53804b9925fc5352cd99f9ce7f239c36e5.tar.bz2
vim-sonictemplate-7482fc53804b9925fc5352cd99f9ce7f239c36e5.zip
stpl filetype
-rw-r--r--ftdetect/stpl.vim1
-rw-r--r--syntax/stpl.vim5
2 files changed, 6 insertions, 0 deletions
diff --git a/ftdetect/stpl.vim b/ftdetect/stpl.vim
new file mode 100644
index 0000000..7ba887e
--- /dev/null
+++ b/ftdetect/stpl.vim
@@ -0,0 +1 @@
+au BufNewFile,BufRead *.stpl setf stpl
diff --git a/syntax/stpl.vim b/syntax/stpl.vim
new file mode 100644
index 0000000..62e6683
--- /dev/null
+++ b/syntax/stpl.vim
@@ -0,0 +1,5 @@
+syn clear
+
+syn match stplPattern "^\S.*$"
+syn match stplSnippet "^\t.*$"
+hi def link stplPattern Special