mirror of
https://github.com/dhruvasagar/vim-table-mode.git
synced 2025-11-09 19:43:48 -05:00
Adhere to common conventions
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user