Mercurial > vim
view src/testdir/test21.in @ 21793:0706bd071fa3 v8.2.1446
patch 8.2.1446: Vim9: line number in error message is not correct
Commit: https://github.com/vim/vim/commit/7517ffdbb564250de72ee3ef64fecf4a486df519
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Aug 14 18:35:07 2020 +0200
patch 8.2.1446: Vim9: line number in error message is not correct
Problem: Vim9: line number in error message is not correct.
Solution: Set SOURCING_LNUM before calling emsg(). (closes https://github.com/vim/vim/issues/6708)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 14 Aug 2020 18:45:05 +0200 |
parents | 30bdd2e4a6f9 |
children |
line wrap: on
line source
Tests for file with some lines ending in CTRL-M, some not STARTTEST :set ta tx :e! :$-3,$w! test.out :qa! ENDTEST this lines ends in a this one doesn't this one does and the last one doesn't