Add <silent> to mapping.
Thanks to emma-dev for the suggestion :)
This commit is contained in:
parent
3534df9cfd
commit
b18ef39102
@ -61,7 +61,7 @@ function! s:Detect_empty_comment()
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
if !hasmapto('<Plug>DoubletapDetect')
|
if !hasmapto('<Plug>DoubletapDetect')
|
||||||
imap <unique> <CR> <Plug>DoubletapDetect
|
silent! imap <unique> <CR> <Plug>DoubletapDetect
|
||||||
endif
|
endif
|
||||||
|
|
||||||
inoremap <expr> <Plug>DoubletapDetect <SID>Detect_empty_comment()
|
inoremap <expr> <Plug>DoubletapDetect <SID>Detect_empty_comment()
|
||||||
|
Loading…
Reference in New Issue
Block a user