Commit Graph

20 Commits

Author SHA1 Message Date
Matt Wozniski
df28fbc369 Refactoring for GTabularize 2012-09-05 00:37:32 -04:00
Matt Wozniski
4894d4add2 First attempt at GTabularize 2012-09-04 23:37:58 -04:00
Matt Wozniski
ad2a5a1d54 Add license info to Tabular.vim 2012-05-03 20:57:25 -04:00
Matt Wozniski
5dd9b4c9e4 Add license info to tabular.vim 2012-05-03 20:53:54 -04:00
Matt Wozniski
b7b4d8791a :Tabularize with no args reuses the last pattern
The docs are updated to document this feature.  Calling :Tabularize with
arguments and no previous pattern prints an error message and does
nothing.  This works with both patterns and named commands.
Suggested by nocash - http://github.com/godlygeek/tabular/pull/2
2011-03-31 00:14:50 -04:00
Matt Wozniski
4b543cda52 Rewrite of s:SplitDelim
The original implementation had some serious problems with delimiters
that were allowed to match with zero-width.  This should correct
https://github.com/godlygeek/tabular/issues/3 - please let me know if
you find any regressions!
2011-03-28 01:35:37 -04:00
Matt Wozniski
ae01c3df35 Add a function for testing s:SplitDelim 2011-03-28 01:34:44 -04:00
Maxim Burgerhout
1835018f96 Ignore /doc/tags so this module can more easily be used with Pathogen 2011-01-23 14:08:12 +01:00
Matt Wozniski
f4d460ea92 Revert "Alternate strategy for empty first column"
Per tpope:
"I just discovered the second of the two tabular fixes I gave you
doesn't work properly if the delimiter is at the very beginning of the
line...  [It] pretended the leading whitespace was part of the padding,
which doesn't help if there's no leading whitespace."

This reverts commit 16f7b1e204.
2010-01-27 00:21:13 -05:00
Tim Pope
16f7b1e204 Alternate strategy for empty first column 2009-12-20 18:09:36 +08:00
Tim Pope
c5fcca78ab Don't add leading space in empty first column 2009-12-20 15:39:39 +08:00
Matt Wozniski
68d1d3a41b More tabular docs 2009-03-11 03:26:02 -04:00
Matt Wozniski
dcf10fa4f6 More tabularize docs 2009-03-09 20:40:10 -04:00
Matt Wozniski
c340487a87 First swing at Tabular.txt help file. 2009-03-09 17:25:14 -04:00
Matt Wozniski
d40b8c40f0 Guard TabularMaps.vim against absent Tabular.vim 2009-03-09 17:25:14 -04:00
Matt Wozniski
3636774cb8 Move TabularMaps to after/plugin
We need to be sure that it will load after Tabular.vim - plus, it sets
an example for others to see how to extend Tabular.
2009-03-09 17:25:14 -04:00
Matt Wozniski
ae157f4a06 Make sure we don't remove all leading indent
The 'remove trailing spaces from first field' logic backfired if the
first field was all whitespace.
2009-03-09 17:25:14 -04:00
Matt Wozniski
f9f6d5bf15 Add 'argument_list' command 2009-03-03 21:44:55 -05:00
Matt Wozniski
d28a1791ea Handle functions that return a:lines
The logic to clear a:lines and replace it with the return of the
function failed pretty miserably when the function returned a:lines.  It
cleared a:lines and then replaced it with the (now empty) elements.
2009-03-03 21:43:31 -05:00
Matt Wozniski
ef55d4b6eb Initial commit 2009-03-03 01:20:14 -05:00