mirror of
https://github.com/dhruvasagar/vim-table-mode.git
synced 2025-11-17 23:33:38 -05:00
Add support for center alignment. Fix #57
We now have support for center alignment, simply add a header border with the `g:table_mode_align_char` as both the first and the last character so it would look something like `+:.....:+` to center align the column values.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
|--------------+------------------+------------|
|
||||
| 测试测试 | 测试长度 | 长测试 |
|
||||
|--------------+------------------+-----------:|
|
||||
| abc | 测试长度 | 长测试 |
|
||||
| 测试测试 | 测试长度 | 长测试 |
|
||||
|--------------+:----------------:+-----------:|
|
||||
| abc | 测试长度 | 长测试 |
|
||||
| 长 | 测试测试测试测试 | 测试测试 |
|
||||
| 测试测试 | 测试 | 测试测测试 |
|
||||
| 测试测试测试 | 测试测试 | 测试 |
|
||||
| 测试测试 | 测试 | 测试测测试 |
|
||||
| 测试测试测试 | 测试测试 | 测试 |
|
||||
|--------------+------------------+------------|
|
||||
|
||||
Reference in New Issue
Block a user