diff --git a/after/plugin/table-mode.vim b/after/plugin/table-mode.vim index a5c37b4..6e7afd1 100644 --- a/after/plugin/table-mode.vim +++ b/after/plugin/table-mode.vim @@ -20,10 +20,10 @@ " ============================================================================= " Finish if already loaded {{{1 -if exists('g:table_mode_loaded') +if exists('g:loaded_table_mode') finish endif -let g:table_mode_loaded = 1 +let g:loaded_table_mode = 1 "}}}1 " " Finish if Tabularize plugin is not available {{{1 @@ -109,4 +109,4 @@ let &cpo = s:save_cpo " }}}1 " ModeLine {{{ -" vim:fdl=0 fdm=marker +" vim: sw=2 sts=2 fdl=0 fdm=marker diff --git a/autoload/tablemode.vim b/autoload/tablemode.vim index 3a2e074..4442fbe 100644 --- a/autoload/tablemode.vim +++ b/autoload/tablemode.vim @@ -21,6 +21,11 @@ " Private Functions {{{1 +if exists('g:autoloaded_table_mode') + finish +endif +let g:autoloaded_table_mode = 1 + function! s:SetBufferOptDefault(opt, val) "{{{2 if !exists('b:' . a:opt) let b:{a:opt} = a:val @@ -488,4 +493,4 @@ function! tablemode#DeleteRow() "{{{2 endfunction " }}}2 -" }}}1 +" vim: sw=2 sts=2 fdl=0 fdm=marker