junegunn / vim-easy-align

:sunflower: A Vim alignment plugin
4.11k stars 118 forks source link

Tab alignment #151

Closed mfilser closed 2 years ago

mfilser commented 3 years ago

Hello, first, thank you a lot for this great plugin.

I just have an issue. Suppose i have this data: col1;col2;col3 test1;;test3

Is aligned to this: (:'<,'>EasyAlign */;/)

col1  ; col2 ; col3
test1 ;      ; test3

If i have a tabulator as delimiter the empty column (col2) grafik

I am missing something to align correctly?

Thank you in advance

junegunn commented 2 years ago

This plugin aligns lines of text using spaces, hence it's not really compatible with tabs. Tabs are correctly handled only when they appear at the beginning of the lines.

mfilser commented 2 years ago

Thank you for your answer. I just thought i can use any delimiter with EasyAlign and it's not limited to only work with spaces.