Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh-no-ps2: A plugin that inserts a newline on Enter instead of displaying PS2
- X-seq: zsh-users 29359
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx>
- Cc: Stephane Chazelas <stephane@xxxxxxxxxxxx>, Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: zsh-no-ps2: A plugin that inserts a newline on Enter instead of displaying PS2
- Date: Mon, 13 Nov 2023 18:10:20 -0800
- Archived-at: <https://zsh.org/users/29359>
- In-reply-to: <CAN=4vMqgAbu=OC86Oe7Ez9eaEsfJJLy57WL=N3cgy=QtgsAz2A@mail.gmail.com>
- List-id: <zsh-users.zsh.org>
- References: <CAN=4vMqm22rFLZnhM=7ytKr4wG14hQGGE3u6m1-cgkUAXCNvsg@mail.gmail.com> <62a2cdc2fd719355bb6d0e5231d04258@chazelas.org> <CAN=4vMqgAbu=OC86Oe7Ez9eaEsfJJLy57WL=N3cgy=QtgsAz2A@mail.gmail.com>
On Mon, Nov 13, 2023 at 12:46 AM Roman Perepelitsa
<roman.perepelitsa@xxxxxxxxx> wrote:
>
> On Mon, Nov 13, 2023 at 8:29 AM Stephane Chazelas <stephane@xxxxxxxxxxxx> wrote:
> >
> > Another widget that returns the state of the parser after reading what's
> > left of the cursor?
>
> Or perhaps something more generic: an actual parser, which gives you
> an AST.
Theoretically I think something along those lines could be extracted
from the wordcode (before the parser discards it in the event of an
incomplete structure) but I'm not the ideal person to attempt that.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author