Patch 9.0.0250

2022-08-23 Fir de Conversatie Bram Moolenaar
Patch 9.0.0250 Problem:Slightly inconsistent error messages. Solution: Make it "Using a Float". (closes #10959) Files: src/errors.h *** ../vim-9.0.0249/src/errors.h2022-08-23 18:39:14.756797669 +0100 --- src/errors.h2022-08-23 21:29:20.323845564 +0100 ***

Re: Vim 9 implementation of matchparen.vim

2022-08-23 Fir de Conversatie Christian J. Robinson
I've attached another bugfix version. On Mon, Aug 22, 2022 at 6:01 AM Bram Moolenaar wrote: > > Christian J. Robinson wrote: > > > I've attached a Vim 9 implementation of the matchparen.vim plugin. > > > > There was a fair amount of logic to determine whether features existed, > but > > since th

Patch 9.0.0249

2022-08-23 Fir de Conversatie Bram Moolenaar
Patch 9.0.0249 (after 9.0.0234) Problem:No test for what 9.0.0234 fixes. Solution: Add a test. (issue #10950) Files: src/testdir/test_cmdwin.vim *** ../vim-9.0.0248/src/testdir/test_cmdwin.vim 2022-08-16 14:51:49.442515641 +0100 --- src/testdir/test_cmdwin.vim 2022-08-23 19:51:59.32

Re: [vim9] vim9 function not found in viml script

2022-08-23 Fir de Conversatie Bram Moolenaar
> The below script, when executed with "so %", gives error "E117: unknown > function III". > Is there any way to remedy this (given that the same script, running as > "vim9script" runs w/o error)? > As a side note: the functions below are part of my .vimrc; so I'm having > trouble flagging the

Patch 9.0.0248

2022-08-23 Fir de Conversatie Bram Moolenaar
Patch 9.0.0248 Problem:Duplicate code in finding a script in the execution stack. Solution: Reduce duplicate code. (closes #10961) Files: src/scriptfile.c *** ../vim-9.0.0247/src/scriptfile.c2022-08-22 13:14:31.892769316 +0100 --- src/scriptfile.c2022-08-23 19:22:49.339524034

Re: [vim9] vim9 function not found in viml script

2022-08-23 Fir de Conversatie Yegappan Lakshmanan
Hi, On Tue, Aug 23, 2022 at 10:05 AM 'hebar...@googlemail.com' via vim_dev wrote: > > @yegappanl > > The only command I see I can prefix with "vim9cmd" is "call SSS()" (the > others already are vim9 functions), to become "vim9cmd SSS()". > This however gives me error "E117: unknown function SSS"

Patch 9.0.0247

2022-08-23 Fir de Conversatie Bram Moolenaar
Patch 9.0.0247 Problem:Cannot add padding to virtual text without highlight. Solution: Add the "text_padding_left" argument. (issue #10906) Files: runtime/doc/textprop.txt, src/textprop.c, src/proto/textprop.pro, src/errors.h, src/structs.h, src/charset.c, src/drawline.c,

Re: [vim9] vim9 function not found in viml script

2022-08-23 Fir de Conversatie 'hebar...@googlemail.com' via vim_dev
Addendum: Actucally, both functions, DDD and III need to be flagged as "vim9cmd". On the other hand, there are functions in the same script defined with "def" that work with no problems... On Tuesday, August 23, 2022 at 7:05:54 PM UTC+2 hebar...@googlemail.com wrote: > @yegappanl > > The only

Re: [vim9] vim9 function not found in viml script

2022-08-23 Fir de Conversatie 'hebar...@googlemail.com' via vim_dev
@yegappanl The only command I see I can prefix with "vim9cmd" is "call SSS()" (the others already are vim9 functions), to become "vim9cmd SSS()". This however gives me error "E117: unknown function SSS" (instead of "III"). Prefixing the vim9(!) function III with "vim9cmd" actually works but m

Re: [vim9] vim9 function not found in viml script

2022-08-23 Fir de Conversatie Yegappan Lakshmanan
Hi, You need to prefix the command with ":vim9cmd" - Yegappan On Tue, Aug 23, 2022 at 9:18 AM 'hebar...@googlemail.com' via vim_dev wrote: > > The below script, when executed with "so %", gives error "E117: unknown > function III". > Is there any way to remedy this (given that the same script,

[vim9] vim9 function not found in viml script

2022-08-23 Fir de Conversatie 'hebar...@googlemail.com' via vim_dev
The below script, when executed with "so %", gives error "E117: unknown function III". Is there any way to remedy this (given that the same script, running as "vim9script" runs w/o error)? As a side note: the functions below are part of my .vimrc; so I'm having trouble flagging the whole file as

Re: [vim/vim] Cannot use ctrl+x to cut using mswin.vim (Issue #10965)

2022-08-23 Fir de Conversatie Gary Johnson
On 2022-08-23, Ahnaf Al Nafis wrote: > You mswin cannot be activated by default in Linux. Why do you think that? The OP explicitly sourced $VIMRUNTIME/mswin.vim in their vimrc. When I source that file in gvim on my Ubuntu 20.04 system, Ctrl-A, Ctrl-C and Ctrl-V behave as they would on Windows.