Skip to content

Visual selection and passed range conflated after 9d43 #137

Open
@Konfekt

Description

@Konfekt

After the simplification commit 9d43ef6#diff-c5343a5d13850471f849776609ce57fc060df53e28763bb19f8c407e81854970R191 (in response to #112 (comment) ?) users could be surprised if the lines covered by the last visual selection coincide with those passed to it as it effectively conflates these two situations.
Is this what the truty comment refers to?

One workaround is outlined at artificial range parameter and I guess this is what g:vim_ai_is_selection_pending was introduced if I can remember somewhat correctly.

While removing it simplifies code and improves developer experience, user experience suffers in this sense.

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