Adhere to common conventions

This commit is contained in:
Marco Hinz
2013-05-07 14:45:16 +02:00
parent 4e8e87256b
commit af55d03e14
2 changed files with 7 additions and 2 deletions

View File

@@ -20,10 +20,10 @@
" ============================================================================= " =============================================================================
" Finish if already loaded {{{1 " Finish if already loaded {{{1
if exists('g:table_mode_loaded') if exists('g:loaded_table_mode')
finish finish
endif endif
let g:table_mode_loaded = 1 let g:loaded_table_mode = 1
"}}}1 "}}}1
" "
" Finish if Tabularize plugin is not available {{{1 " Finish if Tabularize plugin is not available {{{1

View File

@@ -21,6 +21,11 @@
" Private Functions {{{1 " Private Functions {{{1
if exists('g:autoloaded_table_mode')
finish
endif
let g:autoloaded_table_mode = 1
function! s:SetBufferOptDefault(opt, val) "{{{2 function! s:SetBufferOptDefault(opt, val) "{{{2
if !exists('b:' . a:opt) if !exists('b:' . a:opt)
let b:{a:opt} = a:val let b:{a:opt} = a:val