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