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
|
||||
|
||||
if !hasmapto('<Plug>DoubletapDetect')
|
||||
imap <unique> <CR> <Plug>DoubletapDetect
|
||||
silent! imap <unique> <CR> <Plug>DoubletapDetect
|
||||
endif
|
||||
|
||||
inoremap <expr> <Plug>DoubletapDetect <SID>Detect_empty_comment()
|
||||
|
Loading…
Reference in New Issue
Block a user