Mercurial > vim-lawrencium
diff autoload/lawrencium/log.vim @ 141:4d5f4233b04e
Only set `v:errmsg` for real errors, not exceptions.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Wed, 07 Dec 2016 21:33:18 -0800 |
parents | 652a6f5df0f3 |
children | 4aedee2ce476 |
line wrap: on
line diff
--- a/autoload/lawrencium/log.vim Mon Jun 13 21:55:40 2016 -0700 +++ b/autoload/lawrencium/log.vim Wed Dec 07 21:33:18 2016 -0800 @@ -167,7 +167,7 @@ " Behold, Vim's look-ahead regex syntax again! WTF. let l:rev = matchstr(l:line, '\v^(\d+)(\:)@=') if l:rev == '' - call lawrencium#throw("Can't parse revision number from line: " . l:line) + call lawrencium#throwerr("Can't parse revision number from line: " . l:line) endif return l:rev endfunction