rpeshkov / vscode-text-tables

VSCode extension that brings the power of Emacs table editing
MIT License
38 stars 14 forks source link

Formatting error with double-width unicode character #63

Open andrehsu opened 3 years ago

andrehsu commented 3 years ago

For this table, the ⟺ character is double width, but the extension treats it as a single-width character, which results in an unaligned table.

How it looks:

| ¬(A ⟺ B)          | Premise |
| (A ⟹ B) ∧ (B ⟹ A) |         |
|                   |         |

How it should look:

| ¬(A ⟺ B)           | Premise |
| (A ⟹ B) ∧ (B ⟹ A) |         |
|                   |         |