home/rc
Johannes Altmanninger 13948ecb94 rc diff: pass diff to diff-jump via stdin instead of env
Passing large diff buffers via the environment can quickly result in
the error "execve failed: Argument list too long". Use a pipe like
in format.kak

When running | (or <a-|>), Kakoune does not use %arg{@} to populate
"$@" (missing feature?). Work around this by moving %arg{@} to a
temporary register. Apparently $kak_quoted_reg_a will never be an
empty list, so work around that too.

When diff parsing fails, we take care to run "fail" in the calling
client, unlike :format (probably a bug in format.kak).

(This patch is best viewed while ignoring whitespace changes (diff -w))
2022-03-08 20:30:06 +01:00
..
detection modeline-parse: parse set and : correctly 2021-12-31 11:02:15 -03:00
filetype rc diff: pass diff to diff-jump via stdin instead of env 2022-03-08 20:30:06 +01:00
tools Add a complete-command command to configure command completion 2022-03-06 10:13:14 +11:00
windowing Add a complete-command command to configure command completion 2022-03-06 10:13:14 +11:00