dhruvasagar / dhruvasagar/vim-table-mode

TableModeRealign strips leading whitespace in cell

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

Description

I have a table cell that has a ReST code block, which has leading whitespace. When I call `TableModeRealign`, the leading spaces are stripped, which collapses the structure of the code in the block.

For example:

```
+-------------+-----------------------------------------------------------------------+
| filters | JSON object representing a simplified query, of this form:: |
| | |
| | { |
| | "field1": ["value1", "value2"], |
| | "field2": ["value3"] |
| | } |
```

becomes

```
+-------------+-----------------------------------------------------------------------+
| filters | JSON object representing a simplified query, of this form:: |
| | |
| | { |
| | "field1": ["value1", "value2"], |
| | "field2": ["value3"] |
| | } |
```

So far this is my _only_ issue with this extremely useful plugin. Thanks!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.