aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattn <mattn.jp@gmail.com>2014-08-01 11:44:41 +0900
committermattn <mattn.jp@gmail.com>2014-08-01 11:44:41 +0900
commit74039bdbde65e5b0e32dca5db118f479da5ca942 (patch)
treee8ec2cb030034bdc07f5237aab0018b64cae9357
parent1786d7d8fce44fceaa4f255aba6005bb07e31de9 (diff)
downloadvim-sonictemplate-74039bdbde65e5b0e32dca5db118f479da5ca942.tar.gz
vim-sonictemplate-74039bdbde65e5b0e32dca5db118f479da5ca942.tar.bz2
vim-sonictemplate-74039bdbde65e5b0e32dca5db118f479da5ca942.zip
Update doc
-rw-r--r--doc/sonictemplate-vim.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/sonictemplate-vim.txt b/doc/sonictemplate-vim.txt
index 19bfeed..957ff1c 100644
--- a/doc/sonictemplate-vim.txt
+++ b/doc/sonictemplate-vim.txt
@@ -134,7 +134,7 @@ If you store base-main.c in another template directory that is specified
|g:sonictemplate_vim_template_dir|, it will be overrided with your's one.
==============================================================================
-UNITE SOURCE *sonictemplate--vimunitesource*
+UNITE SOURCE *sonictemplate-vim-unitesource*
You can use unite source for sonictemplate. For example,
>
@@ -164,6 +164,8 @@ Note that I'm using pathogen-vim.
base-script.pl ... base script
snip-dbi-connect-sqlite.pl ... snippet for DBI/SQLite
...
+ clojure ... filetype clojure
+ file-project-base.clj ... file project base
_ ... global template
base-foo.go ... base foo
snip-foo.go ... snip foo
@@ -174,9 +176,12 @@ Note that I'm using pathogen-vim.
|[kind]|-|[name]|.|[extension]|
- |[kind]| 'base' or 'snip' should be used.
+ |[kind]| 'base' or 'snip' or 'file' should be used.
'base' is used when buffer is empty.
+ 'file' should be matched if buffer name is leading as template name.
+ For example, "initialize.c" should be expanded template files like
+ "file-initialize-qt.c" or "file-initialize-gtk.c".
|[name]| template name