Drop trailing colon in error

This commit is contained in:
Tim Pope 2012-12-05 00:06:00 -05:00
parent 0df564966f
commit 1bda41a59f
1 changed files with 1 additions and 1 deletions

View File

@ -665,7 +665,7 @@ function! s:Edit(cmd, keyword) abort
return a:cmd.' '.location.'|let &l:path = '.string(&l:path)
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'
endfunction