Bug: Escaped pipes in tables are treated like unescaped pipes when adding columns
jakewvincent opened this issue · 0 comments
jakewvincent commented
When the cursor is in a column in which a cell contains an escaped pipe, the result of inserting a column is incorrect. For example, if the cursor is anywhere in column 2 in this table and <leader>ic
is entered, a column is added, but Val3 is placed in the newly added column instead of remaining in the current column.
Input
| Test | Test |
| ---- | ---------- |
| Val1 | Val1\|Val3 |
| Val2 | Val2 |
Output
| Test | Test | |
| ---- | ---------- | ---- |
| Val1 | Val1\| | Val3 |
| Val2 | Val2 | |