mirror of
https://github.com/dhruvasagar/vim-table-mode.git
synced 2025-11-08 11:03:47 -05:00
If a g:table_mode_separator is escaped by a backslash, the table is aligned ignoring this instance of the g:table_mode_separator, but the column deletion and insertion functions did not consider this behaviour. The g:table_mode_escaped_separator regex is simplified and optimized a little bit. Also more care is taken to prevent unexpected behaviour if special characters are used as g:table_mode_separator.
10 lines
450 B
Plaintext
10 lines
450 B
Plaintext
|-------------------+---------------------------|
|
|
| The \| works as | It can be escaped by a \. |
|
|
| a separator. | |
|
|
| | |
|
|
| Escaping \ with | This feature would |
|
|
| a \ doesn't work. | be unnecessary, because |
|
|
| | a separator must be |
|
|
| | preceded by a space. |
|
|
|-------------------+---------------------------|
|