Re: Fuzzy scoring of beginning of line vs length

2020-11-05 Fir de Conversatie Yegappan Lakshmanan
Hi, On Thu, Nov 5, 2020 at 12:13 PM Maxim Kim wrote: > Hi, looks like text matched in the beginning has lower score than a > shorter line with text not in the beginning: > > https://i.imgur.com/CuBkw0S.gif > > min repro: > > echo ['hello world with a longer line', 'onceHello']->matchfuzzy('hello

Re: For some reason patch 1959 is mentioned twice in version.c

2020-11-05 Fir de Conversatie Christian Brabandt
Patch 8.2.1960 added the version 8.2.1959 a second time. Christian > Am 05.11.2020 um 22:48 schrieb Christian J. Robinson : > > On Thu, 5 Nov 2020, Tony Mechelynck wrote: > >> VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Nov 5 2020 21:36:19) >> Included patches: 1-1959, 1959-1961 > > [...] >

Re: For some reason patch 1959 is mentioned twice in version.c

2020-11-05 Fir de Conversatie Christian J. Robinson
On Thu, 5 Nov 2020, Tony Mechelynck wrote: VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Nov 5 2020 21:36:19) Included patches: 1-1959, 1959-1961 [...] - I pull my sources from the Mercurial repository. No idea if the same fluke is prese'nt in the git master. I see the same thing when pull

For some reason patch 1959 is mentioned twice in version.c

2020-11-05 Fir de Conversatie Tony Mechelynck
:version output begins as follows: VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Nov 5 2020 21:36:19) Included patches: 1-1959, 1959-1961 Compiled by antoine.mechely...@gmail.com Big version with GTK3 GUI. Features included (+) or not (-): - AFAIK this is harmless. - I pull my sources from the M

Fuzzy scoring of beginning of line vs length

2020-11-05 Fir de Conversatie Maxim Kim
Hi, looks like text matched in the beginning has lower score than a shorter line with text not in the beginning: https://i.imgur.com/CuBkw0S.gif min repro: echo ['hello world with a longer line', 'onceHello']->matchfuzzy('hello') result: ['onceHello', 'hello world with a longer line'] I pers

Patch 8.2.1961

2020-11-05 Fir de Conversatie Bram Moolenaar
Patch 8.2.1961 Problem:Various comments can be improved. Solution: Various comment adjustments. Files: src/dict.c, src/structs.h, src/time.c, src/testdir/shared.vim, src/testdir/test_netbeans.vim, src/gui_motif.c *** ../vim-8.2.1960/src/dict.c 2020-10-22 18:59:57.9545601

Patch 8.2.1960

2020-11-05 Fir de Conversatie Bram Moolenaar
Patch 8.2.1960 Problem:Warning for uninitialized variable. Solution: Initialize the variable. Files: src/evalfunc.c *** ../vim-8.2.1959/src/evalfunc.c 2020-10-31 19:33:34.531695411 +0100 --- src/evalfunc.c 2020-11-05 10:51:30.268074839 +0100 *** *** 6873,6879 **

Patch 8.2.1959

2020-11-05 Fir de Conversatie Bram Moolenaar
Patch 8.2.1959 Problem:Crash when terminal buffer name is made empty. (Dhiraj Mishra) Solution: Fall back to "[No Name]". (closes #7262) Files: src/buffer.c, src/proto/buffer.pro, src/terminal.c, src/testdir/test_terminal.vim *** ../vim-8.2.1958/src/buffer.c2020-1

Patch 8.2.1958

2020-11-05 Fir de Conversatie Bram Moolenaar
Patch 8.2.1958 (after 8.2.1956) Problem:Build failure with timers. Solution: Add missing change. Files: src/popupwin.c *** ../vim-8.2.1957/src/popupwin.c 2020-10-22 13:44:49.922509593 +0200 --- src/popupwin.c 2020-11-04 20:19:11.013663622 +0100 *** *** 384,390 *

Patch 8.2.1957

2020-11-05 Fir de Conversatie Bram Moolenaar
Patch 8.2.1957 Problem:Diff and cursorcolumn highlighting don't mix. Solution: Fix condition for what attribute to use. (Christian Brabandt, closes #7258, closes #7260) Files: src/drawline.c, src/testdir/dumps/Test_diff_cuc_01.dump, src/testdir/dumps/Test_diff_c

Patch 8.2.1956

2020-11-05 Fir de Conversatie Bram Moolenaar
Patch 8.2.1956 Problem:Vim9: cannot specify argument types for lambda. Solution: Allow adding argument types. Check arguments when calling a function reference. Files: src/userfunc.c, src/proto/userfunc.pro, src/vim9compile.c, src/eval.c, src/testdir/test_vim9_