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.
This commit is contained in:
Matt Wozniski 2013-05-16 19:56:07 -04:00
parent 0c856ba0a9
commit 60f2564881

View File

@ -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