aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authormattn <mattn.jp@gmail.com>2014-09-03 13:57:25 +0900
committermattn <mattn.jp@gmail.com>2014-09-03 13:57:25 +0900
commit1f57ba3042234e0d6326959c8cdc43eb13fbf976 (patch)
tree825b8dac0cc0b7a804dd0918404bc47ac03bca9e /doc
parent2424d34055eef5fc9b3554547a7cda20278fe3ff (diff)
downloadvim-sonictemplate-1f57ba3042234e0d6326959c8cdc43eb13fbf976.tar.gz
vim-sonictemplate-1f57ba3042234e0d6326959c8cdc43eb13fbf976.tar.bz2
vim-sonictemplate-1f57ba3042234e0d6326959c8cdc43eb13fbf976.zip
Update doc
Diffstat (limited to 'doc')
-rw-r--r--doc/sonictemplate-vim.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/sonictemplate-vim.txt b/doc/sonictemplate-vim.txt
index 957ff1c..e09cf08 100644
--- a/doc/sonictemplate-vim.txt
+++ b/doc/sonictemplate-vim.txt
@@ -133,6 +133,20 @@ This template is stored in 'sonictemplate-vim/template/c/base-main.c'.
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.
+ *sonictemplate_vim_template_dir*
+Specify your template directory if you want.
+
+ *sonictemplate_vim_vars*
+When template contains |{{_input_:var}}|, sonictemplate-vim ask you to input
+value. But in most of cases, it's always same value, maybe. For example, if
+you want to set 'author' in LICENSE-mit template as your name, set like below: >
+
+ let g:sonictemplate_vars = {
+ \ '_': {
+ \ 'author': 'Yasuhiro Matsumoto',
+ \ },
+ \}
+<
==============================================================================
UNITE SOURCE *sonictemplate-vim-unitesource*