Add <silent> to mapping.

Thanks to emma-dev for the suggestion :)
This commit is contained in:
Øystein Walle 2012-11-30 17:29:02 +01:00
parent 3534df9cfd
commit b18ef39102

View File

@ -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()