~voroskoi/easymotion.kak

d5772bd319acdb86adf0d91ffb2f085f811aa453 — VÖRÖSKŐI András 3 years ago bbc8d72
Add comment on Kakoune crash fix
1 files changed, 3 insertions(+), 0 deletions(-)

M easymotion.lua
M easymotion.lua => easymotion.lua +3 -0
@@ 182,6 182,9 @@ else
end

if kak_mode == "streak" and #ranges == 1 then
	-- replace the line below with the following once this fix is released
	-- https://github.com/mawww/kakoune/commit/586f79c30de2185a18f5f769e625184dd10fa40f
	-- command = command .. "; execute-keys <ret>; set-option buffer easymotion_ranges"
	command = command .. "; hook -once -group easymotion global PromptIdle .* %{ execute-keys <ret> }; set-option buffer easymotion_ranges"
end