aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2015-12-04 11:59:36 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2015-12-04 11:59:36 +0900
commit8d1870bebbba43dc17426f4757fc63314bc32ec7 (patch)
treea7b24fc81ceafe2d0a4750185303489a2ebe8d42
parent140e77e4c56a2eca483355bbdb26c0141a1332ae (diff)
parent0d127f4ba7c5e23fc93fd6c18cb94d27ed8a370a (diff)
downloadvim-sonictemplate-8d1870bebbba43dc17426f4757fc63314bc32ec7.tar.gz
vim-sonictemplate-8d1870bebbba43dc17426f4757fc63314bc32ec7.tar.bz2
vim-sonictemplate-8d1870bebbba43dc17426f4757fc63314bc32ec7.zip
Merge branch 'master' of https://github.com/mattn/sonictemplate-vim
-rw-r--r--doc/sonictemplate-vim.txt2
-rw-r--r--template/dockerfile/base-main.dockerfile4
2 files changed, 5 insertions, 1 deletions
diff --git a/doc/sonictemplate-vim.txt b/doc/sonictemplate-vim.txt
index e09cf08..429ffa7 100644
--- a/doc/sonictemplate-vim.txt
+++ b/doc/sonictemplate-vim.txt
@@ -141,7 +141,7 @@ 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 = {
+ let g:sonictemplate_vim_vars = {
\ '_': {
\ 'author': 'Yasuhiro Matsumoto',
\ },
diff --git a/template/dockerfile/base-main.dockerfile b/template/dockerfile/base-main.dockerfile
new file mode 100644
index 0000000..de043d3
--- /dev/null
+++ b/template/dockerfile/base-main.dockerfile
@@ -0,0 +1,4 @@
+FROM {{_input_:FROM_image}}
+MAINTAINER {{_input_:author}} <{{_input_:email}}>
+
+RUN {{_cursor_}}