vimwiki

Personal wiki for vim
git clone https://github.com/vimwiki/vimwiki.git
Log | Files | Refs | README | LICENSE

commit a405c7317aac606065e9406eac5c280d36df33c4
parent a36bbbb54ad8b0a5f8232960ec314c151abd0f16
Author: Maxim Kim <habamax@gmail.com>
Date:   Thu, 11 Jul 2013 23:23:47 +0400

Do not add multiple * on gll

Lists in default vimwiki syntax has no multiple * as bullet point.
This behaviour could be implemented for media syntax.

Diffstat:
Mautoload/vimwiki/lst.vim | 8--------
1 file changed, 0 insertions(+), 8 deletions(-)

diff --git a/autoload/vimwiki/lst.vim b/autoload/vimwiki/lst.vim @@ -992,14 +992,6 @@ function! s:adjust_mrkr(item) "{{{ let new_mrkr = neighbor_item.mrkr endif - "if possible, set e.g. *** if parent has ** as marker - if neighbor_item.type == 0 && a:item.type == 1 && has_key(g:vimwiki_bullet_points, s:first_char(a:item.mrkr)) && g:vimwiki_bullet_points[s:first_char(a:item.mrkr)] == 1 - let parent_item = s:get_parent(a:item) - if parent_item.type == 1 && s:first_char(parent_item.mrkr) == s:first_char(a:item.mrkr) - let new_mrkr = repeat(s:first_char(parent_item.mrkr), s:string_length(parent_item.mrkr)+1) - endif - endif - call s:substitute_string_in_line(a:item.lnum, a:item.mrkr, new_mrkr) call s:adjust_numbered_list(a:item, 0, 1) endfunction "}}}