It is great to see the numbers. @Bram What about something like this so it
is 100% backwards compatible. The best part is that it works in current
vim8 without any errors.
function! s:greet(name) abort
"use strict"
echom a:name
endfunction
call s:greet('Vim9')
Javascript does this too.
ht
Why you don't use { ?
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vi
Hi Bram,
2020/1/3 Fri 6:40:12 UTC+9 Bram Moolenaar wrote:
>
>
> Patch 8.2.0080
> Problem:Globals using INIT4() are not in the tags file.
> Solution: Adjust the tags command.
> Files:src/configure.ac, src/auto/configure
>
Similar changes are needed for Make_cyg_ming.mak and M
Patch 8.2.0080
Problem:Globals using INIT4() are not in the tags file.
Solution: Adjust the tags command.
Files: src/configure.ac, src/auto/configure
*** ../vim-8.2.0079/src/configure.ac2019-11-21 17:03:01.0 +0100
--- src/configure.ac2020-01-02 22:36:30.350764526 +010
I have created a repository for the Vim9 script experiments:
https://github.com/brammool/vim9
I did another measurement for a more realistic example, re-indenting a
large number of lines. In old Vim script it would be:
let totallen = 0
for i in range(1, 10)
call setline(i, '' .
Patch 8.2.0079
Problem:Python 3 unicode test still fails on MS-Windows.
Solution: Do not set 'encoding' to "euc-tw" on MS-Windows.
Files: src/testdir/test_python3.vim
*** ../vim-8.2.0078/src/testdir/test_python3.vim2020-01-01
17:44:53.534008534 +0100
--- src/testdir/test_pyt
Patch 8.2.0078
Problem:Expanding works differently the second time.
Solution: Keep the expanded name when redefining a function. (closes #5425)
Files: src/testdir/test_vimscript.vim, src/userfunc.c
*** ../vim-8.2.0077/src/testdir/test_vimscript.vim 2019-11-08
22:56:32.
Patch 8.2.0077
Problem:settagstack() cannot truncate at current index.
Solution: Add the "t" action. (Yegappan Lakshmanan, closes #5417)
Files: runtime/doc/eval.txt, src/evalfunc.c, src/tag.c,
src/testdir/test_tagjump.vim
*** ../vim-8.2.0076/runtime/doc/eval.txt20