mirror of
https://github.com/Raimondi/delimitMate.git
synced 2026-11-02 02:17:34 +08:00
Fix tests, BS in expansions and close #105.
This commit is contained in:
1 parent
cfc6654855
commit
8a8aad183f
5 files changed
+10
-4
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user