Mercurial > vim
view ci/if_ver-2.vim @ 29429:aeba55253de4
patch 9.0.0056: wrong line number reported when :cexpr fails in :def function
Commit: https://github.com/vim/vim/commit/bd683e3a79d73e608fec0df7cee1109a27f2e70a
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jul 18 17:49:03 2022 +0100
patch 9.0.0056: wrong line number reported when :cexpr fails in :def function
Problem: Wrong line number reported when :cexpr fails in :def function.
Solution: Set line_number before executing :cexpr. (closes https://github.com/vim/vim/issues/10735)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 18 Jul 2022 19:00:07 +0200 |
parents | 27ff44268da5 |
children |
line wrap: on
line source
" Print py3 interface versions for Ubuntu. Part 2. if 1 execute 'source' expand('<sfile>:h') .. '/if_ver-cmd.vim' echo 'Python 3:' PrintVer python3 print(sys.version) endif