Fix tests, BS in expansions and close #105.

This commit is contained in:
Israel Chauca Fuentes committed 2013-06-18 18:52:26 -04:00
1 parent cfc6654855
commit 8a8aad183f
5 files changed
+10 -4

No files matched your search

+1 -1
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