-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
using this example:
module Test
def self.something(x)
something_else(5) do
puts "b"
end
end
def something_else(x, &block)
y = 1
if x > 2
if x + y > 5 then puts "a" else block.call end
end
end
end
Put cursor on y = 1 and use the vir command in normal mode.
Result: Lines inside the whole module are selected.
Expected: Lines inside the something_else method should be selected
Additional note: If the if then else end block is removed, this problem no longer occurs.
Metadata
Metadata
Assignees
Labels
No labels