X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/21152904788bb285019ae619db89b475bc378cc2..46f2a724aee3b81b2c8463f4e3b08e5b8055bfb5:/test/table-format.vader diff --git a/test/table-format.vader b/test/table-format.vader index c29ab03..2fc06a3 100644 --- a/test/table-format.vader +++ b/test/table-format.vader @@ -29,3 +29,16 @@ Expect (table is not modified): | a | b | |---|---| | c | d | + +Given markdown; +| left |right| center || +| :- | --: |:---:|:| +| left |right| center || + +Execute (format table with colons): + TableFormat + +Expect (preserve colons to align text): + | left | right | center | | + |:-----|------:|:------:|:--| + | left | right | center | |