aboutsummaryrefslogtreecommitdiffstats
path: root/src/rst_tables.py
diff options
context:
space:
mode:
authorVG <vg@devys.org>2015-07-24 14:50:22 +0200
committerVG <vg@devys.org>2015-07-24 14:50:22 +0200
commitc5d527d906cc0836c29d3733bde518929fda69eb (patch)
tree9b8c23914f19693c3597e03b127a881458e5f9cb /src/rst_tables.py
parent7797a9fe721cf7116e28a49fff3595071c48ce63 (diff)
downloadvim-rst-tables-c5d527d906cc0836c29d3733bde518929fda69eb.tar.gz
vim-rst-tables-c5d527d906cc0836c29d3733bde518929fda69eb.tar.bz2
vim-rst-tables-c5d527d906cc0836c29d3733bde518929fda69eb.zip
remove dependency to vim_bridge
Diffstat (limited to 'src/rst_tables.py')
-rw-r--r--src/rst_tables.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/rst_tables.py b/src/rst_tables.py
index 50f5b3b..a2cfc43 100644
--- a/src/rst_tables.py
+++ b/src/rst_tables.py
@@ -1,7 +1,6 @@
import vim
import re
import textwrap
-from vim_bridge import bridged
def get_table_bounds():
@@ -255,7 +254,6 @@ 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]
@@ -264,7 +262,6 @@ 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]