From 5aa925dac4e1dd14428e22893a3db5d1cf5306ed Mon Sep 17 00:00:00 2001 From: Vincent Driessen Date: Thu, 19 Aug 2010 11:42:24 +0200 Subject: Credit Hugo Ruscitti, the original author of the RST for Vim plugin. --- ftplugin/rst_tables.vim | 9 +++++---- src/base.vim | 4 ++++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ftplugin/rst_tables.vim b/ftplugin/rst_tables.vim index 43b674f..72fe5d4 100644 --- a/ftplugin/rst_tables.vim +++ b/ftplugin/rst_tables.vim @@ -5,6 +5,10 @@ " Version: Vim 7 (may work with lower Vim versions, but not tested) " URL: http://github.com/nvie/vim-rst-tables " +" This plugin is a more flexible reimplementation of the ideas and the +" existing Vim plugin by Hugo Ruscitti: +" http://www.vim.org/scripts/script.php?script_id=3041 +" " Only do this when not done yet for this buffer if exists("g:loaded_rst_tables_ftplugin") @@ -183,7 +187,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) @@ -195,9 +199,6 @@ endpython " Add mappings, unless the user didn't want this. " The default mapping is registered, unless the user remapped it already. if !exists("no_plugin_maps") && !exists("no_rst_table_maps") - if !hasmapto('CreateTable(') - noremap c :call CreateTable() - endif if !hasmapto('ReformatTable(') noremap f :call ReformatTable() endif diff --git a/src/base.vim b/src/base.vim index fc30e05..980bc5e 100644 --- a/src/base.vim +++ b/src/base.vim @@ -5,6 +5,10 @@ " Version: Vim 7 (may work with lower Vim versions, but not tested) " URL: http://github.com/nvie/vim-rst-tables " +" This plugin is a more flexible reimplementation of the ideas and the +" existing Vim plugin by Hugo Ruscitti: +" http://www.vim.org/scripts/script.php?script_id=3041 +" " Only do this when not done yet for this buffer if exists("g:loaded_rst_tables_ftplugin") -- cgit v1.2.3