Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Escaped pipes in tables are treated like unescaped pipes when adding columns #244

Open
jakewvincent opened this issue Jul 22, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@jakewvincent
Copy link
Owner

jakewvincent commented Jul 22, 2024

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       |      |
@jakewvincent jakewvincent added the bug Something isn't working label Jul 22, 2024
@jakewvincent jakewvincent self-assigned this Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant