Feature: Add option to automatically cycle bullet chars (#907)

When the syntax local config `cycle_bullets` is set (currently only
markdown has it by default) the indent functions will cycle through the
characters defined in `bullet_types` based on the level of indentation.

Signed-off-by: Robert Günzler <r@gnzler.io>
This commit is contained in:
Robert Günzler
2020-06-07 23:03:10 +00:00
committed by GitHub
parent 1617d4b654
commit 61093f4f2a
3 changed files with 78 additions and 23 deletions

View File

@ -402,6 +402,55 @@ Expect (list -> *):
1. Much
* You
Given (Bulleted list):
* I
- Relly
* Love
- Very
+ Much
* You
Execute (file .md):
file toto.md
edit!
AssertEqual 'vimwiki', &ft
set sw=2
Do (2gll):
gLl
Expect (Increase):
- I
+ Relly
* Love
- Very
+ Much
* You
Do (3glh):
gLh
Expect (Decrease):
* I
- Relly
* Love
- Very
+ Much
* You
Given (Bulleted list 2):
* Love
- Very
- Much
Do (Go):
Go
Expect (New item):
* Love
- Very
- Much
-
# 3 Text Object {{{1
####################