commit 78ee71394a23317746e752b86bf4eb08a25213dc
parent 458c4539e5e2138bcddd4e38dc2142d27c1e62ef
Author: Maxim Kim <habamax@gmail.com>
Date: Fri, 3 Sep 2010 00:00:00 +0000
Version 1.1.1
Follow up bugfix release.
* FIX: Issue 122: Dot character in vimwiki's directory path isn't escaped.
* FIX: Issue 123: Where is Vimwiki2HTML and other commands? Sometimes filetype is not set up to vimwiki.
* FIX: Issue 124: Highlight group not found: Normal
Diffstat:
3 files changed, 17 insertions(+), 6 deletions(-)
diff --git a/autoload/vimwiki.vim b/autoload/vimwiki.vim
@@ -546,7 +546,10 @@ endfunction "}}}
function vimwiki#get_hl_param(hgroup, hparam) "{{{
redir => hlstatus
- exe "silent hi ".a:hgroup
+ try
+ exe "silent hi ".a:hgroup
+ catch /E411/
+ endtry
redir END
return matchstr(hlstatus, a:hparam.'\s*=\s*\zs\S\+')
endfunction "}}}
diff --git a/doc/vimwiki.txt b/doc/vimwiki.txt
@@ -9,7 +9,7 @@
|___| |___| |_| |_||__| |__||___| |___| |_||___| ~
- Version: 1.1
+ Version: 1.1.1
==============================================================================
CONTENTS *vimwiki-contents*
@@ -374,7 +374,9 @@ ic Inner column in a table.
*:VimwikiSearch* /pattern/
*:VWS* /pattern/
- Search for /pattern/ in current wiki.
+ Search for /pattern/ in all files of current wiki.
+ To display next match use |:cnext| command.
+ To display previous match use |:cprevious| command.
*:VimwikiTable*
@@ -1648,6 +1650,12 @@ Maxim Kim.
==============================================================================
14. Changelog *vimwiki-changelog*
+1.1.1~
+ * FIX: Issue 122: Dot character in vimwiki's directory path isn't escaped.
+ * FIX: Issue 123: Where is Vimwiki2HTML and other commands? Sometimes
+ filetype is not set up to vimwiki.
+ * FIX: Issue 124: Highlight group not found: Normal
+
1.1~
* NEW: Issue 57: Make it possible to have pre block inside list item.
* NEW: Issue 82: Add quick goto command. See |:VimwikiGoto|.
@@ -1665,7 +1673,7 @@ Maxim Kim.
* FIX: Issue 96: Closing bracket at the end of weblink shouldn't be a part
of that link.
* FIX: Issue 97: Error opening weblink in a browser if it has # inside.
- * FIX: Issue 99: Vim is not responing while opening arbitrary wiki file.
+ * FIX: Issue 99: Vim is not responding while opening arbitrary wiki file.
* FIX: Issue 100: Additional content on diary index page could be
corrupted.
* NEW: Issue 101: Customized HTML tags. See |g:vimwiki_valid_html_tags|
diff --git a/plugin/vimwiki.vim b/plugin/vimwiki.vim
@@ -299,7 +299,7 @@ augroup vimwiki
for ext in keys(extensions)
exe 'autocmd BufEnter *'.ext.' call s:setup_buffer_enter()'
exe 'autocmd BufLeave,BufHidden *'.ext.' call s:setup_buffer_leave()'
- exe 'autocmd BufNewFile,BufRead, *'.ext.' setf vimwiki'
+ exe 'autocmd BufNewFile,BufRead, *'.ext.' setlocal filetype=vimwiki'
" ColorScheme could have or could have not a
" VimwikiHeader1..VimwikiHeader6 highlight groups. We need to refresh
@@ -364,7 +364,7 @@ function! s:build_menu(topmenu)
let idx = 0
while idx < len(g:vimwiki_list)
let norm_path = fnamemodify(VimwikiGet('path', idx), ':h:t')
- let norm_path = escape(norm_path, '\ ')
+ let norm_path = escape(norm_path, '\ \.')
execute 'menu '.a:topmenu.'.Open\ index.'.norm_path.
\ ' :call vimwiki#goto_index('.(idx + 1).')<CR>'
execute 'menu '.a:topmenu.'.Open/Create\ diary\ note.'.norm_path.