mirror of
https://github.com/Raimondi/delimitMate.git
synced 2026-10-20 21:07:08 +08:00
fix maparg typo
This commit is contained in:
1 parent
c78a6e6d93
commit
342a04b427
1 file changed
+2
-2
@@ -326,10 +326,10 @@ function! s:ExtraMappings() "{{{
|
|||||||
" If pair is empty, delete both delimiters:
|
" If pair is empty, delete both delimiters:
|
||||||
inoremap <silent> <Plug>delimitMateBS <C-R>=delimitMate#BS()<CR>
|
inoremap <silent> <Plug>delimitMateBS <C-R>=delimitMate#BS()<CR>
|
||||||
if !hasmapto('<Plug>delimitMateBS','i')
|
if !hasmapto('<Plug>delimitMateBS','i')
|
||||||
if maparg('<BS>'. 'i') == ''
|
if maparg('<BS>', 'i') == ''
|
||||||
silent! imap <unique> <buffer> <BS> <Plug>delimitMateBS
|
silent! imap <unique> <buffer> <BS> <Plug>delimitMateBS
|
||||||
endif
|
endif
|
||||||
if maparg('<C-h>'. 'i') == ''
|
if maparg('<C-h>', 'i') == ''
|
||||||
silent! imap <unique> <buffer> <C-h> <Plug>delimitMateBS
|
silent! imap <unique> <buffer> <C-h> <Plug>delimitMateBS
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in new issue
Block a user