X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/51d98df7639dda404c5fe4c154716fdf81b1899a..0688ac78b7caac0d4a3eaa558145a79febeb0a11:/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