vim-table-mode icon indicating copy to clipboard operation
vim-table-mode copied to clipboard

Ignore pipe symbol inside of brackets

Open imbolc opened this issue 6 years ago • 2 comments

I'm aware of workaround described in https://github.com/dhruvasagar/vim-table-mode/issues/64, but still can't we safely avoid formatting if the pipe surrounded by any kind of brackets and quotes: ", ', `, <, [, (?

Let's say we have a shell command which includes a pipe in a table. The workaround, while providing correct export format (markdown for example), breaks the ability of copying the command in text mode.

imbolc avatar Mar 25 '20 08:03 imbolc

It would require considerable effort. Right now table-mode essentially uses regex based parser to identify tables and changes such as this require considerable changes to the regexes. While it would certainly be a good to have, I am not sure if it's pressing enough.

dhruvasagar avatar Mar 26 '20 02:03 dhruvasagar

I will keep this open, however, at the moment there are other more important issues to be dealt with, I will try to look more into this later when I find time. Until then, if you're willing and have ht time, take a stab at contributing yourself

dhruvasagar avatar Mar 26 '20 02:03 dhruvasagar