diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2022-02-17 04:31:35 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2022-02-17 04:31:45 +0100 |
commit | b77c5f11070ecb2ff343aa18b4ea859e6168f16c (patch) | |
tree | c93d347b096ce19556f369428913b697e6aafa00 /autoload/csv.vim | |
parent | 2c5af8f89d3e61e04e761c07a1f043b0f35203c6 (diff) | |
download | vim-polyglot-b77c5f11070ecb2ff343aa18b4ea859e6168f16c.tar.gz vim-polyglot-b77c5f11070ecb2ff343aa18b4ea859e6168f16c.zip |
Update
Diffstat (limited to 'autoload/csv.vim')
-rw-r--r-- | autoload/csv.vim | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/autoload/csv.vim b/autoload/csv.vim index 34943bc7..ba04d2bc 100644 --- a/autoload/csv.vim +++ b/autoload/csv.vim @@ -780,8 +780,7 @@ fu! csv#CalculateColumnWidth(row, silent) "{{{3 " row for the row for which to calculate the width let b:col_width=[] if has( 'vartabs' ) && b:delimiter == "\t" - let vts_save=&vts - set vts= + setlocal vts= endif try if exists("b:csv_headerline") @@ -801,9 +800,6 @@ fu! csv#CalculateColumnWidth(row, silent) "{{{3 " delete buffer content in variable b:csv_list, " this was only necessary for calculating the max width unlet! b:csv_list s:columnize_count s:decimal_column - if has( 'vartabs' ) && b:delimiter == "\t" - let &vts=vts_save - endif endfu fu! csv#Columnize(field) "{{{3 " Internal function, not called from external, |