chrisbra / csv.vim

A Filetype plugin for csv files
http://www.vim.org/scripts/script.php?script_id=2830
Vim License
1.28k stars 62 forks source link

`:ArrangeColumn` corrupts date string? #205

Closed gilbh closed 1 year ago

gilbh commented 2 years ago

Hi,

Love your plugin!

When I open the following one-line csv file:

DOGEUSDT,buy,short,2021-11-04 08:00,0.2553,,,,[-59.75%],,,EMA_21=0.26914 EMA_50=0.26975 Vol_Osc=-55.88,

-- and then enter :ArrangeColumn, the forth column with the date string (2021-11-04 08:00) is truncated to: 2011

Am I doing something wrong or is this a bug?

Thanks!

chrisbra commented 2 years ago

I cannot seem to replicate this. Note: by itself on a single line :ArrangeColumn probably won't do anything useful, since the lines already have optimal width.