mirror of
https://github.com/zoriya/jj.nvim.git
synced 2026-08-05 10:46:08 +00:00
fix(bookmark): Always move bookmars with -B to allow the user moving
it forward and backwards seemlessly
This commit is contained in:
+1
-1
@@ -539,7 +539,7 @@ function M.bookmark_move()
|
||||
default = "@",
|
||||
}, function(revset)
|
||||
if revset then
|
||||
local cmd = string.format("jj b m %s --to %s", choice, revset)
|
||||
local cmd = string.format("jj b m %s --to %s -B", choice, revset)
|
||||
runner.execute_command_async(cmd, function()
|
||||
utils.notify(
|
||||
string.format("Bookmark `%s` moved successfully to %s", choice, revset),
|
||||
|
||||
Reference in New Issue
Block a user