aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/sonictemplate-vim.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/sonictemplate-vim.txt b/doc/sonictemplate-vim.txt
index 37f643d..840d1b8 100644
--- a/doc/sonictemplate-vim.txt
+++ b/doc/sonictemplate-vim.txt
@@ -216,6 +216,16 @@ Note that I'm using pathogen-vim.
Above template will be expanded as oneline
>
left foobar right
+<
+ |{{_filter_:xxx}}| : template filter
+ If it's contained, some templates are listed prior.
+ For example: When `base-helloworld.go` define filter as 'foo',
+ `snip-foo.go` is located first than `snip-bar.go` in the template list
+>
+ base-helloworld.go
+ snip-foo.go
+ snip-bar.go
+<
==============================================================================
vim:tw=78:ts=8:ft=help:norl:noet:fen:fdl=0: