Fix grep-jump on eol
This commit is contained in:
parent
d0dfcd2b78
commit
6ab98f8bf8
|
@ -49,7 +49,7 @@ decl -docstring "name of the client in which all source code jumps will be execu
|
||||||
def -hidden grep-jump %{
|
def -hidden grep-jump %{
|
||||||
eval -collapse-jumps %{
|
eval -collapse-jumps %{
|
||||||
try %{
|
try %{
|
||||||
exec 'xs^((?:\w:)?[^:]+):(\d+):(\d+)?<ret>'
|
exec '<a-x>s^((?:\w:)?[^:]+):(\d+):(\d+)?<ret>'
|
||||||
set buffer grep_current_line %val{cursor_line}
|
set buffer grep_current_line %val{cursor_line}
|
||||||
eval -try-client %opt{jumpclient} edit -existing %reg{1} %reg{2} %reg{3}
|
eval -try-client %opt{jumpclient} edit -existing %reg{1} %reg{2} %reg{3}
|
||||||
try %{ focus %opt{jumpclient} }
|
try %{ focus %opt{jumpclient} }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user