Skip to content

Use FeedLine() for robustly parsing messages from REPL #40

@ubaldot

Description

@ubaldot

At the moment there is the limitation that repl width shall be at least 16 chars due to that the parser expects the string ^__VIM_PAYLOAD__ in one line.

However, it may happens that the REPL window is so small that Vim receives multi-line message like the following:

__VI
M_PAYL
OAD_
_

The idea is to accumulate lines through a FeedLines() function which is similar to FeedChars() and catch keywords like __VIM_PAYLOAD__, __END__, prompts, error, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions