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



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