Skip to content

Conversation

@sindrets
Copy link
Owner

Resolves #272.

Everything between a pair of quotes will now be treated as part of a single argument. Example:

:DiffviewFileHistory --grep="foo bar baz" -G"lorem ipsum dolor"
:DiffviewOpen 'HEAD@{4 days ago}'

Everything between a pair of quotes will now be treated as part of a
single argument. Example:

:DiffviewFileHistory --grep="foo bar baz" -G"lorem ipsum dolor"
:DiffviewOpen 'HEAD@{4 days ago}'

* feat(arg-parser): Make the scanner more configurable.

    The scanner can now configurably, and correctly parse quoted args as
    well as EX command ranges.

    Provide more data in `CmdLineContext`s.

* feat(arg-parser): Better processing of completion candidates.

    Do all completion candidate filtering and processing in the
    arg-parser. Properly support completion for |input()|.

* refactor(file-history): Flag options into their own class.

    Better default behavior. Requires far less customization per flag
    option in order to get sensible behavior.
@sindrets sindrets marked this pull request as ready for review January 15, 2023 13:23
@sindrets sindrets merged commit 5bbcf16 into main Jan 15, 2023
@sindrets sindrets deleted the feat/quoted-args branch January 15, 2023 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Support quoted arguments

2 participants