Drop trailing colon in error

This commit is contained in:
Tim Pope 2012-12-05 00:06:00 -05:00
parent 0df564966f
commit 1bda41a59f

View File

@ -665,7 +665,7 @@ function! s:Edit(cmd, keyword) abort
return a:cmd.' '.location.'|let &l:path = '.string(&l:path) return a:cmd.' '.location.'|let &l:path = '.string(&l:path)
endif endif
endif endif
let v:errmsg = "Couldn't find source for ".a:keyword.': '.location let v:errmsg = "Couldn't find source for ".a:keyword
return 'echoerr v:errmsg' return 'echoerr v:errmsg'
endfunction endfunction