X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/51d98df7639dda404c5fe4c154716fdf81b1899a..43bc4bc18c1ea38f609413c8e9ab2995b8bf1a26:/test/indent.vader?ds=inline 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