diff options
author | Vincent Driessen <vincent@datafox.nl> | 2010-08-20 14:50:27 +0200 |
---|---|---|
committer | Vincent Driessen <vincent@datafox.nl> | 2010-08-20 14:50:27 +0200 |
commit | 78043a12ca1abcb8050f572c9d861df181c14671 (patch) | |
tree | 366545c9b9271964fec87f6c6ded7e542c1954a9 /ftplugin | |
parent | 4422e1fbb74a85fd7167d9506c837cdfd09311ee (diff) | |
download | vim-rst-tables-78043a12ca1abcb8050f572c9d861df181c14671.tar.gz vim-rst-tables-78043a12ca1abcb8050f572c9d861df181c14671.tar.bz2 vim-rst-tables-78043a12ca1abcb8050f572c9d861df181c14671.zip |
Bugfix for table output.
Apparently, RST requires the first line of tables to be drawn with
minuses, not equal signs.
Diffstat (limited to 'ftplugin')
-rw-r--r-- | ftplugin/rst_tables.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ftplugin/rst_tables.vim b/ftplugin/rst_tables.vim index ae0979a..e042157 100644 --- a/ftplugin/rst_tables.vim +++ b/ftplugin/rst_tables.vim @@ -248,7 +248,7 @@ def draw_table(table, manual_widths=None): header_line = table_line(sep_col_widths, header=True) normal_line = table_line(sep_col_widths, header=False) - output = [header_line] + output = [normal_line] first = True for row in table: |