Re: Vim9 script: first steps

2020-01-03 Fir de Conversatie mattn
If you are thinking vim9 accept to use lambda in the expression in while/for, it will be confusable. while {ー>1}() ... } -- -- 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

Patch 8.2.0083

2020-01-03 Fir de Conversatie Bram Moolenaar
Patch 8.2.0083 Problem:Text properties wrong when tabs and spaces are exchanged. Solution: Take text properties into account. (Nobuhiro Takasaki, closes #5427) Files: src/edit.c, src/testdir/test_textprop.vim *** ../vim-8.2.0082/src/edit.c 2019-12-01 21:04:37.0 +

Patch 8.2.0082

2020-01-03 Fir de Conversatie Bram Moolenaar
Patch 8.2.0082 Problem:When reusing a buffer listeners are not cleared. (Axel Forsman) Solution: Clear listeners when reusing a buffer. (closes #5431) Files: src/testdir/test_listener.vim, src/buffer.c *** ../vim-8.2.0081/src/testdir/test_listener.vim 2019-10-24 20:05:31.0

Patch 8.2.0081

2020-01-03 Fir de Conversatie Bram Moolenaar
Patch 8.2.0081 Problem:MS-Windows also need the change to support INIT4(). Solution: Add the ctags arguments. (Ken Takata) Files: src/Make_cyg_ming.mak, src/Make_mvc.mak *** ../vim-8.2.0080/src/Make_cyg_ming.mak 2019-12-14 13:09:13.658894314 +0100 --- src/Make_cyg_ming.mak

Re: Patch 8.2.0080

2020-01-03 Fir de Conversatie Bram Moolenaar
Ken Takata wrote: > 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 nee

Re: Vim9 script: first steps

2020-01-03 Fir de Conversatie Bram Moolenaar
Ken Takata wrote: > 2020/1/3 Fri 19:02:13 UTC+9 Bram Moolenaar wrote: > > > > > > Yasuhiro Matsumoto wrote: > > > > > Why you don't use { ? > > > > I know this will trigger a discussion. Nearly all languages use blocks > > ending with "}". It's much easier to see where a block ends that way

Re: Vim9 script: first steps

2020-01-03 Fir de Conversatie Ken Takata
Hi Bram, 2020/1/3 Fri 19:02:13 UTC+9 Bram Moolenaar wrote: > > > Yasuhiro Matsumoto wrote: > > > Why you don't use { ? > > I know this will trigger a discussion. Nearly all languages use blocks > ending with "}". It's much easier to see where a block ends that way > than using "endif", "endw

Re: Vim9 script: first steps

2020-01-03 Fir de Conversatie Bram Moolenaar
Yasuhiro Matsumoto wrote: > Why you don't use { ? I know this will trigger a discussion. Nearly all languages use blocks ending with "}". It's much easier to see where a block ends that way than using "endif", "endwhile", etc., it stands out. Since we already have the start of the block with

Re: Vim9 script: first steps

2020-01-03 Fir de Conversatie Bram Moolenaar
Prabir Shrestha wrote: > 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