Patch 8.2.1862

2020-10-18 Fir de Conversatie Bram Moolenaar
Patch 8.2.1862 Problem:vim9: memory leak when compiling lambda fails. Solution: Call clear_evalarg(). Files: src/vim9compile.c *** ../vim-8.2.1861/src/vim9compile.c 2020-10-16 23:16:43.459258200 +0200 --- src/vim9compile.c 2020-10-18 23:30:09.471743429 +0200 *** *** 2

Re: [vim/vim] Support for matching multiple words (#7163)

2020-10-18 Fir de Conversatie Yegappan Lakshmanan
Hi, On Sun, Oct 18, 2020 at 1:16 PM bfrg wrote: > Wouldn't it be better to make this optional? How can we fuzzy search for a > literal white space character (not uncommon in file paths on Windows)? > > > A character after a space is given an additional bonus score. So when you search for a file

Re: [vim/vim] Support for matching multiple words (#7163)

2020-10-18 Fir de Conversatie Maxim Kim
> > Hmm, so if I match "one two" on a text that contains "two one", it stil > matches? Isn't that a bit unexpected? If I would match "one_two" then it > would not match "two_one", right? Thus we are making white space very > special. Not sure if that is the goal. > This actually what I would ex

Re: [vim/vim] Add the matchfuzzy() function (#6932)

2020-10-18 Fir de Conversatie Yegappan Lakshmanan
Hi, On Mon, Sep 14, 2020 at 10:56 AM Maxim Kim wrote: > However, this would match: > :echo matchfuzzy(["pack/minpac/opt/fzf/LICENSE"], "pa/li") > ['pack/minpac/opt/fzf/LICENSE'] > > I would expect :echo matchfuzzy(["pack/minpac/opt/fzf/LICENSE"], "pali") > match the same... > > So should matchfu

Re: [vim/vim] Add the matchfuzzy() function (#6932)

2020-10-18 Fir de Conversatie Yegappan Lakshmanan
Hi, On Sun, Oct 4, 2020 at 7:10 PM lacygoill wrote: > There is something else which I think would be useful but it's more a > feature request. If you use fzf(1) to search through help tags via > :Helptags >

Re: [vim/vim] Support for matching multiple words (#7163)

2020-10-18 Fir de Conversatie Yegappan Lakshmanan
Hi Bram, On Sun, Oct 18, 2020 at 6:14 AM Bram Moolenaar wrote: > > Hmm, so if I match "one two" on a text that contains "two one", it > stil matches? Isn't that a bit unexpected? > Yes. If you search for "one two", it will match both "one two" and "two one". Of course, the "one two" match will s

Patch 8.2.1861

2020-10-18 Fir de Conversatie Bram Moolenaar
Patch 8.2.1861 Problem:Vim9: no specific error when parsing lambda fails. Solution: Also give syntax errors when not evaluating. (closes #7154) Files: src/dict.c, src/testdir/test_vim9_expr.vim *** ../vim-8.2.1860/src/dict.c 2020-10-02 18:11:52.509992300 +0200 --- src/dict.c 2020-1