dhruvasagar / dhruvasagar/vim-table-mode

Quotes seem to break tableization

Open
#250 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vim Script
Stars
2.2k
Forks
100
PR merge metrics
No merged PRs in 30d

Description

Attempt to tableize `123'456.7, 9'876'543.21` yields `| 123'456.7, 9'876'543.21 |` instead of the desired `| 123'456.7 | 9'876'543.21 |`. Same issue if using `"` instead of `'`, and across multiple lines, including when a mix of quote chars.

Config in Lazy:
```
{
'dhruvasagar/vim-table-mode',
-- ft = 'markdown',
keys = {
{ 'tm', 'tm' },
{ 'tt', 'tt', mode = 'v' },
{ 'tr', 'tr' },
},
config = function()
vim.g.table_mode_corner = '|'
vim.g.table_mode_update_time = 0
end,
},
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce tableization with `123'456.7, 9'876'543.21`, then repeat with double quotes, multiple lines, and mixed quote characters using the Lazy configuration shown. Trace the tableization behavior in the vim-table-mode plugin and verify that quoted numeric values are separated into distinct table cells without breaking other table input.

Written by the indexing model from the issue text.

Assessment

Tech stack
vim
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.