diff --git a/README.md b/README.md index d0ffb90..01a3be1 100644 --- a/README.md +++ b/README.md @@ -121,7 +121,7 @@ let g:bullets_max_alpha_characters = 1 Nested outline bullet levels: ```vim -let g:bullets_outline_levels = ['ROM', 'ABC', 'num', 'abc', 'rom', 'std-', 'std*', 'std+'] " default +let g:bullets_outline_levels = ['ROM', 'ABC', 'num', 'abc', 'rom', 'std-', 'std*', 'std+', 'std>', 'std#'] " default " Ordered list containing the heirarchical bullet levels, starting from the outer most level. " Available bullet level options (cannot use the same marker more than once) " ROM/rom = upper/lower case Roman numerals (e.g., I, II, III, IV) diff --git a/doc/bullets.txt b/doc/bullets.txt index 86dccbb..77d93e2 100644 --- a/doc/bullets.txt +++ b/doc/bullets.txt @@ -198,7 +198,7 @@ bullet types for each level of indentation. Define the type of bullet used for each level using the following ordered list: `let g:bullets_outline_levels = ['ROM', 'ABC', 'num', 'abc', 'rom', 'std-',` - ` \ 'std*', 'std+']` + ` \ 'std*', 'std+', 'std>', 'std#']` Demoting a bullet ([I], [N]`>>`, [V]`>`) will increase its indentation and use the next bullet level defined in this list. Similarly, promoting the bullet diff --git a/plugin/bullets.vim b/plugin/bullets.vim index 525e5e9..9f8ac3c 100644 --- a/plugin/bullets.vim +++ b/plugin/bullets.vim @@ -60,7 +60,7 @@ endwhile if !exists('g:bullets_outline_levels') " Capitalization matters: all caps will make the symbol caps, lower = lower " Standard bullets should include the marker symbol after 'std' - let g:bullets_outline_levels = ['ROM', 'ABC', 'num', 'abc', 'rom', 'std-', 'std*', 'std+'] + let g:bullets_outline_levels = ['ROM', 'ABC', 'num', 'abc', 'rom', 'std-', 'std*', 'std+', 'std>', 'std#'] endif if !exists('g:bullets_renumber_on_change') @@ -248,7 +248,7 @@ fun! s:match_checkbox_bullet_item(input_text) endfun fun! s:match_bullet_list_item(input_text) - let l:std_bullet_regex = '\v(^(\s*)(-|\*+|\.+|#\.|\+|\\item)(\s+))(.*)' + let l:std_bullet_regex = '\v(^(\s*)(-|\*+|\.+|#\.|\+|\>|\#|\\item)(\s+))(.*)' let l:matches = matchlist(a:input_text, l:std_bullet_regex) if empty(l:matches)