From c40dfed316890d463f1583edcac9f5862f2443f5 Mon Sep 17 00:00:00 2001 From: NicolasGB Date: Tue, 30 Dec 2025 12:24:49 +0100 Subject: [PATCH] fix(log): handle bookmark now is a method of the module instead of local like all the others --- lua/jj/cmd/log.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/jj/cmd/log.lua b/lua/jj/cmd/log.lua index 84803bf..c5b3778 100644 --- a/lua/jj/cmd/log.lua +++ b/lua/jj/cmd/log.lua @@ -340,7 +340,7 @@ function M.handle_log_open_pr(list_bookmarks) end -- Create or move bookmark at revision under cursor in `jj log` buffer -local function handle_log_bookmark() +function M.handle_log_bookmark() local line = vim.api.nvim_get_current_line() local revset = parser.get_rev_from_log_line(line) if not revset or revset == "" then @@ -467,7 +467,7 @@ function M.log_keymaps() }, bookmark = { desc = "Create or move bookmark at revision under cursor", - handler = handle_log_bookmark, + handler = M.handle_log_bookmark, }, }