Simplify expand_cr a bit and add some to do tests

This commit is contained in:
Israel Chauca Fuentes
2017-02-13 12:12:12 -05:00
parent e48ea9f852
commit b1ff7f7942
4 changed files with 42 additions and 9 deletions

View File

@@ -11,7 +11,7 @@
" - Add 5 to vimtap#Plan().
call vimtest#StartTap()
call vimtap#Plan(9)
call vimtap#Plan(10)
let g:delimitMate_expand_cr = 1
let g:delimitMate_eol_marker = ';'
@@ -34,10 +34,15 @@ call DMTest_single('', 'i(', '()')
call DMTest_single('', "i(\<CR>x", ['(', 'x', ');'])
" Issue #195
call DMTest_single('', "i{(\<CR>x", ['{(', 'x', ')}'])
" Issue #195
call DMTest_single('', "i;\<Left>{(\<CR>x", ['{(', 'x', ')};'])
" Issue #195
call DMTest_single('', "i\<Left>{(\<CR>x", ['{(', 'x', ')};'], 0, 1)
" End: quit vim.
call vimtest#Quit()
" vim: sw=2 et