39407014c8
Fix: Syntax bug precode nested in bold apperead bold Problem: 1. `that_ HERE _was` italic 2. `__that ``HERE`` was__ bold => PreCode should not receive typeface region changes Solution: 1. Stricter regex (and add \* to VimwikiError) 2. Add VikiError and WikiPre to nestables syntaxes
46 lines
743 B
Plaintext
46 lines
743 B
Plaintext
# Move and edit a list (autocommand, config_
|
|
|
|
# Test J {{{1
|
|
############################################################
|
|
|
|
Given vimwiki (Markdown * [ ] list {{{2):
|
|
* [ ] Top Level
|
|
* [o] Child 1
|
|
* [X] Child 2
|
|
|
|
* [X] Post space
|
|
|
|
|
|
Execute (Set syntax markdown):
|
|
call SetSyntax('markdown')
|
|
|
|
Do (JJJJ):
|
|
JJJJ
|
|
0y$
|
|
:call AssertIfVersion(704, '* [ ] Top Level Child 1 Child 2 Post space', @")\<Cr>
|
|
|
|
|
|
|
|
Given vimwiki (Markdown * and - list {{{2):
|
|
* one
|
|
* two
|
|
- three
|
|
- for
|
|
|
|
|
|
Execute (Set syntax markdown):
|
|
call SetSyntax('markdown')
|
|
|
|
Do (JjJ):
|
|
JjJ
|
|
gg
|
|
0y$
|
|
:call AssertIfVersion(704, '* one two', @")\<Cr>
|
|
G
|
|
0y$
|
|
:call AssertIfVersion(704, '- three for', @")\<Cr>
|
|
|
|
|
|
|
|
# vim: sw=2:foldlevel=30:foldmethod=indent:
|