Fix tests, BS in expansions and close #105.

This commit is contained in:
Israel Chauca Fuentes
2013-06-18 17:01:56 -04:00
parent cfc6654855
commit 8a8aad183f
5 changed files with 10 additions and 4 deletions

View File

@@ -338,7 +338,7 @@ endfunction "}}}
function! s:ExtraMappings() "{{{
" If pair is empty, delete both delimiters:
inoremap <silent><expr> <Plug>delimitMateBS delimitMate#WithinEmptyPair() ? "\<C-R>=delimitMate#BS()\<CR>" : "\<BS>"
inoremap <silent> <Plug>delimitMateBS <C-R>=delimitMate#BS()<CR>
if !hasmapto('<Plug>delimitMateBS','i') && maparg('<BS>'. 'i') == ''
silent! imap <unique> <buffer> <BS> <Plug>delimitMateBS
endif