Refactored spreadsheet related code out of table.vim

This commit is contained in:
Dhruva Sagar
2014-04-07 12:05:20 +05:30
parent f20ff17b42
commit defd9531a7
7 changed files with 820 additions and 832 deletions

View File

@@ -19,16 +19,6 @@
" =============================================================================
" Private Functions {{{1
if exists('g:autoloaded_table_mode') "{{{2
finish
endif
let g:autoloaded_table_mode = 1
function! s:throw(string) abort "{{{2
let v:errmsg = 'table-mode: ' . a:string
throw v:errmsg
endfunction
function! s:sub(str,pat,rep) abort "{{{2
return substitute(a:str,'\v\C'.a:pat,a:rep,'')
endfunction
@@ -157,4 +147,3 @@ function! tablemode#TableizeByDelimiter() "{{{2
exec line("'<") . ',' . line("'>") . "call tablemode#TableizeRange('/' . delim)"
endif
endfunction