From 60f25648814f0695eeb6c1040d97adca93c4e0bb Mon Sep 17 00:00:00 2001 From: Matt Wozniski Date: Thu, 16 May 2013 19:56:07 -0400 Subject: [PATCH] Add an option to not load TabularMaps.vim Setting g:no_default_tabular_maps=1 will disable loading of TabularMaps.vim. Suggested by jeetsukumaran on github. --- after/plugin/TabularMaps.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/after/plugin/TabularMaps.vim b/after/plugin/TabularMaps.vim index 20f7141..f808084 100644 --- a/after/plugin/TabularMaps.vim +++ b/after/plugin/TabularMaps.vim @@ -1,5 +1,5 @@ -if !exists(':Tabularize') - finish " Tabular.vim wasn't loaded +if !exists(':Tabularize') || get(g:, 'no_default_tabular_maps', 0) + finish " Tabular.vim wasn't loaded or the default maps are unwanted endif let s:save_cpo = &cpo