- Refactored realignment logic.
- Generating borders by hand rather than relying on
tabular formatting since that puts restrictions on the borders
(padding). With the new scheme, I am able to generate good looking
tables with neat borders like they should be, without padding.
- Updated doc/table-mode.txt
- Fixes#5. We now have the ability to invoke table mode within inline
comments. Works for both instant table creation and table conversion
for csv data. Uses 'commentstring' option of vim to identify comments,
so it should work for most filetypes as long as 'commentstring' option
has been set. This is usually done appropriately in filetype plugins.
- Improved :Tableize to accept a {patter} in a similar way as
:Tabularize does. eg.)
:Tableize/;
The above command will tableize the selection taking ';' as the
delimiter rather than the default ',' defined by the
g:table_mode_delimiter option. If you do not provide a pattern, the
default delimiter will be used.
- Updated doc/table-mode.txt
- Updated README.md
- Added tags to .gitignore to avoid checking in tags file.
- Fixed#1. Added new option `g:table_mode_no_border_padding` which if
set to 1 (set to 0 by default) removes the padding around borders (and
the text too), sets `g:table_mode_align` to `'c0'` for achieving the
same.
- Moved some code around for better readability.
- Added new option g:table_mode_align for allowing the user to set the
format option for aligning the text, this is passed directly to
Tabular.
- Updated vim doc.
- Updated README.md
- Moved plugin to an after/plugin to ensure table-mode is loaded after
Tabularize.
- Gracefully exit with appropriate error message in case Tabularize is
not available and skip loading of plugin.
- Fixed typo in copyright.
- Updated version numbers across.
- Added :Tableize which accepts a range. It checks if the content has a
delimiter defined by g:table_mode_delimiter and if so, it adds a table
around it.
- Added <Leader>T mapping, which is defined by g:table_mode_tableize_map
that applies :Tableize on the visually selected range.
- Added options for tableize.
- Updated vim doc.