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