aboutsummaryrefslogtreecommitdiffstats
path: root/src/rst_tables.py
diff options
context:
space:
mode:
authorVincent Driessen <vincent@datafox.nl>2010-08-19 11:43:03 +0200
committerVincent Driessen <vincent@datafox.nl>2010-08-19 11:43:03 +0200
commit81c52547b08e24b2be35ddca47167527e958fa6e (patch)
treeeab1270a7712e9e1234363061271d85cfb19f210 /src/rst_tables.py
parent5aa925dac4e1dd14428e22893a3db5d1cf5306ed (diff)
downloadvim-rst-tables-81c52547b08e24b2be35ddca47167527e958fa6e.tar.gz
vim-rst-tables-81c52547b08e24b2be35ddca47167527e958fa6e.tar.bz2
vim-rst-tables-81c52547b08e24b2be35ddca47167527e958fa6e.zip
Remove CreateTable().
This implementation only needs ReformatTable(), also for creation.
Diffstat (limited to 'src/rst_tables.py')
-rw-r--r--src/rst_tables.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rst_tables.py b/src/rst_tables.py
index 3fb8923..7273b8d 100644
--- a/src/rst_tables.py
+++ b/src/rst_tables.py
@@ -168,7 +168,7 @@ def draw_table(table):
@bridged
-def create_table():
+def reformat_table():
upper, lower = get_table_bounds()
slice = vim.current.buffer[upper - 1:lower]
table = parse_table(slice)