mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-28 06:08:05 +03:00
13948ecb94
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)) |
||
---|---|---|
.. | ||
detection | ||
filetype | ||
tools | ||
windowing |