_file_ and _dir_ locals now set for edit-method
This commit is contained in:
parent
5c964f0ed6
commit
1e655ed1d7
|
@ -147,6 +147,7 @@ e.g: edit-method hello_method
|
||||||
# editor is invoked here
|
# editor is invoked here
|
||||||
else
|
else
|
||||||
file, line = meth.source_location
|
file, line = meth.source_location
|
||||||
|
set_file_and_dir_locals(file)
|
||||||
|
|
||||||
if Pry.editor.respond_to?(:call)
|
if Pry.editor.respond_to?(:call)
|
||||||
editor_invocation = Pry.editor.call(file, line)
|
editor_invocation = Pry.editor.call(file, line)
|
||||||
|
|
Loading…
Reference in New Issue