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