summaryrefslogtreecommitdiff
path: root/src/shared_string.cc
diff options
context:
space:
mode:
authorJohannes Altmanninger <aclopte@gmail.com>2022-02-01 20:09:48 +0100
committerMaxime Coste <mawww@kakoune.org>2022-02-02 11:25:41 +1100
commit0b29fcf32ac756dc54ec5c52db63340c9b3692e9 (patch)
treed747cd01795aac90a58557d0c3c09fddd1276f0a /src/shared_string.cc
parent4bd34caf4f694b5c66f11d3656c212aad29d244c (diff)
rc diff: evaluate diff-highlight hook before loading module
A recent commit wrapped diff.kak into a module. The module includes the hook that adds diff highlighting to filetype=diff buffers. This means that the hook is only loaded after opening the first diff buffer in a Kakoune session, so it only actually fires for the second diff buffer. Fix this by moving the hook out of the module. Fixes #4525
Diffstat (limited to 'src/shared_string.cc')
0 files changed, 0 insertions, 0 deletions