On Tue, May 14, 2024 at 4:10 AM Michael Soyka wrote:
>
> Chris,
>
> Thank you for the explanation but I don't think it explains everything.
> See below.
>
> On 05/13/2024 4:15 PM, Christian Brabandt wrote:
> > On Mo, 13 Mai 2024, Michael Soyka wrote:
> >
> >> Yes, your are right- the bwipeout
Chris,
Thank you for the explanation but I don't think it explains everything.
See below.
On 05/13/2024 4:15 PM, Christian Brabandt wrote:
On Mo, 13 Mai 2024, Michael Soyka wrote:
Yes, your are right- the bwipeout command succeeds without the double
quotes in vim9script. Thanks for the
Now that I think about it, perhaps the reason ':bwipeout "%"' fails with
error E94 is because "%", with the double quotes, is passed to bwipeout
which understands % as a buffer name but not "%".
I think this explains the behavior. Thanks for the conversation!
On 05/13/2024 4:15 PM, Christian
On Mo, 13 Mai 2024, Michael Soyka wrote:
> Yes, your are right- the bwipeout command succeeds without the double
> quotes in vim9script. Thanks for the solution!
>
> Given that, what feature of vim9script causes the error when double
> quotes are used? In legacy vimscript, it doesn't matter
Yes, your are right- the bwipeout command succeeds without the double
quotes in vim9script. Thanks for the solution!
Given that, what feature of vim9script causes the error when double quotes
are used? In legacy vimscript, it doesn't matter if double quotes are
present or not. Perhaps this
Try it without the quotes:
bwipeout %
On Mon, May 13, 2024 at 10:55 AM Michael Soyka wrote:
> In the process of converting a file from vimscript to vim9script, I came
> across the following inconsistent behavior with the ex-command bwipeout
> "%". I'm running gvim 9.1.136 in Windows 10.
In the process of converting a file from vimscript to vim9script, I came
across the following inconsistent behavior with the ex-command bwipeout
"%". I'm running gvim 9.1.136 in Windows 10. The problem is demonstrated
by the two scripts below.
bwipeoutBug.vim:
" Source this script, then