commit 918b07342d9b3f3437a02bdec128eeff6084f1d1 parent 22ab2bfd9b1228536eb7a388973031cb8819a937 Author: EinfachToll <istjanichtzufassen@googlemail.com> Date: Mon, 12 Jan 2015 09:32:05 +0100 Add default values to some options like the doc says Fix #102 Diffstat:
M | doc/vimwiki.txt | | | 2 | +- |
M | plugin/vimwiki.vim | | | 6 | +++--- |
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/vimwiki.txt b/doc/vimwiki.txt @@ -1860,7 +1860,7 @@ See |vimwiki-option-template_path| for details. *vimwiki-option-template_ext* ------------------------------------------------------------------------------ Key Default value~ -template_ext .html +template_ext .tpl Description~ Setup template filename extension. diff --git a/plugin/vimwiki.vim b/plugin/vimwiki.vim @@ -385,9 +385,9 @@ let s:vimwiki_defaults.ext = '.wiki' let s:vimwiki_defaults.maxhi = 0 let s:vimwiki_defaults.syntax = 'default' -let s:vimwiki_defaults.template_path = '' -let s:vimwiki_defaults.template_default = '' -let s:vimwiki_defaults.template_ext = '' +let s:vimwiki_defaults.template_path = '~/vimwiki/templates/' +let s:vimwiki_defaults.template_default = 'default' +let s:vimwiki_defaults.template_ext = '.tpl' let s:vimwiki_defaults.nested_syntaxes = {} let s:vimwiki_defaults.auto_export = 0