Skip to content

Cannot expand selection past case #27

@i512

Description

@i512

I'm using neovim and I've installed the latest versions of vim-textobj-rubyblock and vim-textobj-user with Plug.
For example I want to expand my selection to include method baz.

module Foo
  class Bar
    def baz(a)
      case a # << cursor
      when 1
        1
      when 2
        2
      end
    end
  end
end

When I press var it selects

      case a
      when 1
        1
      when 2
        2
      end

When I repeat ar nothing happens, selection doesn't change.

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