aboutsummaryrefslogtreecommitdiffstats
path: root/ftplugin
Commit message (Collapse)AuthorAgeFilesLines
* Revert "remove dependency to vim_bridge"VG2015-07-241-11/+31
| | | | | | | | This reverts commit c5d527d906cc0836c29d3733bde518929fda69eb. I revert since I modified files in src and run build.py, but previous modifications of the original author were made to rst_tables.vim directly so my modifications removed unicode character count bug correction.
* remove dependency to vim_bridgeVG2015-07-241-31/+11
|
* Remove print statement used for debuggingJorge Scandaliaris2015-04-241-1/+0
|
* Fix wrong table width when non-ascii characters are presentJorge Scandaliaris2015-04-241-5/+13
|
* Add check to be able to create a top page tableChristophe Courtaut2013-08-141-1/+1
| | | | | This commit adds a check for top boundary, so if the table goes up to the top of the document, it will be correctly detected.
* when modifying a table maintain its current indentationEric Davis2012-09-211-10/+12
| | | | this allows vim-rst-tables to be used inside an outliner like the vim votl plugin
* fixed bug : doesn't work properly with East Asian Languagechoplin2011-10-011-2/+12
| | | | calculate string length as unicode type, not str type
* Bugfix for table output.Vincent Driessen2010-08-201-1/+1
| | | | | Apparently, RST requires the first line of tables to be drawn with minuses, not equal signs.
* Implemented the "reflow" command.Vincent Driessen2010-08-201-3/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For example, if you have the following table in your source file: Type Message Foo I like bananas very much. Even so much that I adore them. Position your cursor in it and call ReformatTable(). This makes the following: +======+===========================================================+ | Type | Message | +======+===========================================================+ | Foo | I like bananas very much. Even so much that I adore them. | +------+-----------------------------------------------------------+ But if you don't like these kinds of long wrappings, you can now simply remove (or add, for that matter) some of the '='-signs from the top row, like this: +======+================================+ | Type | Message | +======+===========================================================+ | Foo | I like bananas very much. Even so much that I adore them. | +------+-----------------------------------------------------------+ And then, call ReflowTable(): +======+================================+ | Type | Message | +======+================================+ | Foo | I like bananas very much. Even | | | so much that I adore them. | +------+--------------------------------+ This fixed issue #1.
* Add support for multi-line cell formatting.Vincent Driessen2010-08-191-20/+42
| | | | | | | | | | | | | | | | | For example, when given the following table: [['Foo', 'Bar'], ['x', 'This is a long line\nthat is spread out\nover multiple lines']] It will render as: +=====+=====================+ | Foo | Bar | +=====+=====================+ | x | This is a long line | | | that is spread out | | | over multiple lines | +-----+---------------------+
* Add line partitioner.Vincent Driessen2010-08-191-3/+34
| | | | | | | | | | | | | | | | | | Is able to parse tables of the form: +=====+=====================+ | Foo | Bar | +=====+=====================+ | x | This is a long line | | | that is spread out | | | over multiple lines | +-----+---------------------+ Into: [['Foo', 'Bar'], ['x', 'This is a long line\nthat is spread out\nover multiple lines']] The draw_table function needs to be written still, though.
* Credit Hugo Ruscitti, the original author of the RST for Vim plugin.Vincent Driessen2010-08-191-4/+5
|
* Add join_rows helper function (necessary for joining long lines later on).Vincent Driessen2010-08-191-0/+24
|
* Add ability to remove all empty columns automatically.Vincent Driessen2010-08-191-0/+18
|
* Added ability to parse existing tables.Vincent Driessen2010-08-191-4/+12
|
* Deal with spaces at the end of the line.Vincent Driessen2010-08-191-1/+1
|
* Finish the CreateTable() function, now we're done with the details.Vincent Driessen2010-08-191-16/+3
|
* Fix: vim.buffer -> vim.current.bufferVincent Driessen2010-08-191-4/+4
|
* Add main logic to creating RST tables.Vincent Driessen2010-08-181-2/+135
|
* Add initial files.Vincent Driessen2010-08-181-0/+34