Skip to content

Some version of Vim this year broke the use of range with :'<,'>Rails #549

@emilyst

Description

@emilyst

Sometime earlier this year (I wanna say in spring?), the use of the default :Rails command using a range broke.

The behavior before was that, in a spec file (for example), I could select a line and type :'<,'>Rails, upon which it would pass that to the spec runner. This behavior is intact in Vim 8.0.1365 (default on Mojave).

On Vim version 8.1.2100 (from Homebrew), running that command gives the error message, E16: Invalid range.

I made some considerable effort to bisect the vim-rails and vim-projectionist and vim-dispatch plugins to discover if they had a regression. I could not find one. This appears to be a change in Vim itself. I cannot for the life of me figure out which patch caused this or what the actual problem is. Sorry about that.

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