diff options
Diffstat (limited to 'src/rst_tables.py')
-rw-r--r-- | src/rst_tables.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rst_tables.py b/src/rst_tables.py index a2cfc43..50f5b3b 100644 --- a/src/rst_tables.py +++ b/src/rst_tables.py @@ -1,6 +1,7 @@ import vim import re import textwrap +from vim_bridge import bridged def get_table_bounds(): @@ -254,6 +255,7 @@ def draw_table(indent, table, manual_widths=None): return output +@bridged def reformat_table(): upper, lower, indent = get_table_bounds() slice = vim.current.buffer[upper - 1:lower] @@ -262,6 +264,7 @@ def reformat_table(): vim.current.buffer[upper - 1:lower] = slice +@bridged def reflow_table(): upper, lower, indent = get_table_bounds() slice = vim.current.buffer[upper - 1:lower] |