Fix specs

This commit is contained in:
Alex Rodionov
2014-07-24 19:15:36 +07:00
parent 67969ae5cf
commit 6b89fe5c9e
2 changed files with 2 additions and 1 deletions

View File

@@ -53,7 +53,7 @@ function! s:ToggleMapping() "{{{2
" '|' is a special character, we need to map <Bar> instead " '|' is a special character, we need to map <Bar> instead
if g:table_mode_separator ==# '|' | let separator_map = '<Bar>' | endif if g:table_mode_separator ==# '|' | let separator_map = '<Bar>' | endif
if g:table_mode_disable_mappings == 0 if !g:table_mode_disable_mappings
if tablemode#IsActive() if tablemode#IsActive()
call s:Map('<Plug>(table-mode-tableize)', separator_map, 'i') call s:Map('<Plug>(table-mode-tableize)', separator_map, 'i')
call s:Map('<Plug>(table-mode-motion-up)', '{<Bar>', 'n') call s:Map('<Plug>(table-mode-motion-up)', '{<Bar>', 'n')

View File

@@ -7,3 +7,4 @@ let g:table_mode_always_active = 0
let g:table_mode_delimiter = ',' let g:table_mode_delimiter = ','
let g:table_mode_corner_corner = '|' let g:table_mode_corner_corner = '|'
let g:table_mode_align_char = ':' let g:table_mode_align_char = ':'
let g:table_mode_disable_mappings = 0