1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-10-04 00:27:19 +03:00
kakoune/rc
Johannes Altmanninger 0e225db00e rc git: don't require client in git show-diff
This fails because the new logic wrongly assumes the presence of a client:

    hook global WinCreate /.* 'git show-diff'

The "diff" process hangs because we never write to ${kak_response_fifo}.
After a "pkill diff", the *debug* buffer shows

    error while waiting for shell: 1:1: 'evaluate-commands': 3:13: 'execute-keys': no such client: '-draft'
    shell stderr: <<<

The client argument is completely unnecessary since we always want
to use the calling context's buffer anyway. Remove it.

Note that we can probably further simplify this by using "write"
instead of a shell process. I'll send that patch along a few other
error handling improvements later.

Closes #5235
2024-09-18 20:52:44 +01:00
..
detection rc detection modeline: optimize modeline pre-filtering 2023-06-02 22:38:32 +02:00
filetype Merge remote-tracking branch 'sjjf/sql_filetype_misdetection' 2024-09-16 15:40:54 +10:00
tools rc git: don't require client in git show-diff 2024-09-18 20:52:44 +01:00
windowing Introduce "local" scope in evaluate-commands 2024-04-12 15:28:40 +10:00