X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/51d98df7639dda404c5fe4c154716fdf81b1899a..da4f9691597928065d849fe9c0863ed3a756b52d:/test/indent.vader?ds=sidebyside diff --git a/test/indent.vader b/test/indent.vader index aabf54f..e0870d5 100644 --- a/test/indent.vader +++ b/test/indent.vader @@ -48,3 +48,26 @@ Expect (no autoindent outside list): ba + +Given markdown; +- a + + # b + +Do (insert header after list): + jjwi# + +Expect (no indent header after list): + - a + + ## b + +Given markdown; +* item1 + +Do (new line from the first item of the list and add the second item): + o* item2 + +Expect (insert 4 spaces to the head of second item): + * item1 + * item2