nvie / vim-rst-tables

Easily create and reformat your RST (reStructuredText) tables as you change cell content.
121 stars 36 forks source link

fixed bug : doesn't work properly with East Asian Language #7

Closed choplin closed 12 years ago

choplin commented 12 years ago

This plugin doesn't work with rst table containing full width characters, such as Japanese, because this consider a byte length of string as a width of string.

I correct the plugin so that the plugin calculate a string width with unicodedata.east_asian_width instead of byte length.

Thank you for this cool plugin :)

nvie commented 12 years ago

Great, thanks for the patch!