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] Space insert issue #76

Open
samarulmeu opened this issue Aug 2, 2024 · 4 comments · May be fixed by #77
Open

[Bug] Space insert issue #76

samarulmeu opened this issue Aug 2, 2024 · 4 comments · May be fixed by #77

Comments

@samarulmeu
Copy link

It seems that after the last updates there are some issues. So when I try to tabularize something it always insert a space before the first | and instead of something like this

| code     | value        | date       |
| :----:   | :----------: | :--------: |
| LKIOC99  | 1450         | 2025-07-29 |
| IOK948KL | 689          | 2024-10-27 |

I get something like

 | code     | value        | date       |
 | :----:   | :----------: | :--------: |
 | LKIOC99  | 1450         | 2025-07-29 |
 | IOK948KL | 689          | 2024-10-27 |

Thank you!

@Mortivor
Copy link

Same for me.

@Kaesenudeln
Copy link

Same here. Checked everywhere, pretty sure it is Tabular's issue.

shirosaki added a commit to shirosaki/tabular that referenced this issue Sep 21, 2024
@shirosaki shirosaki linked a pull request Sep 21, 2024 that will close this issue
@ShakeSphereStuff
Copy link

ShakeSphereStuff commented Nov 22, 2024

Hey! I'm still getting this problem 3 months after this released, could you please fix this
Btw here's a quick workaround I've been using to get around it:
nnoremap <Bar> ggVG<
xnoremap <Bar> ggVG<
Then press | to activate

@TheLudd
Copy link

TheLudd commented Dec 18, 2024

The fork by shirosaki solves this and can be used as a plugin util a solution is in place.
I use this config in my lazy.vim setup

{
  "shirosaki/tabular",
  branch = "fix_leading_spaces"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants