From 918b07342d9b3f3437a02bdec128eeff6084f1d1 Mon Sep 17 00:00:00 2001 From: EinfachToll Date: Mon, 12 Jan 2015 09:32:05 +0100 Subject: [PATCH] Add default values to some options like the doc says Fix #102 --- doc/vimwiki.txt | 2 +- plugin/vimwiki.vim | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/vimwiki.txt b/doc/vimwiki.txt index a22c473..8b7a1b3 100644 --- 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 index 8d3a577..fc2e6aa 100644 --- 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