X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/51d98df7639dda404c5fe4c154716fdf81b1899a..9a15f22447f63ab4325c6222a19d18a417540cc6:/test/indent.vader 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