diff options
| -rw-r--r-- | rc/filetype/diff.kak | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/filetype/diff.kak b/rc/filetype/diff.kak index baa65992..1898268a 100644 --- a/rc/filetype/diff.kak +++ b/rc/filetype/diff.kak @@ -34,7 +34,7 @@ define-command diff-jump -params .. -docstring %{ set-register c %val{cursor_column} # If there is a "diff" line, we don't need to look further back. try %{ - execute-keys %{<a-l><semicolon><a-?>^(?:> )*diff\b<ret>x} + execute-keys %{,<a-l><semicolon><a-?>^(?:> )*diff\b<ret>x} } catch %{ # A single file diff won't have a diff line. Start parsing from # the buffer start, so we can tell if +++/--- lines are headers |
