mirror of
https://github.com/zoriya/jj.nvim.git
synced 2026-08-11 05:38:31 +00:00
fix(bookmarks): Strip ?? from bookmarks too
This commit is contained in:
+2
-2
@@ -420,8 +420,8 @@ function M.parse_bookmark_names(bookmark_str)
|
||||
for _, item in ipairs(raw_items) do
|
||||
local parts = vim.split(item, "::", { plain = true })
|
||||
if #parts == 2 then
|
||||
-- Strip asterisks and @remote
|
||||
local base_name = parts[1]:gsub("%*", ""):gsub("@.*$", "")
|
||||
-- Strip asterisks and @remote and ??
|
||||
local base_name = parts[1]:gsub("%*", ""):gsub("@.*$", ""):gsub("%?%?", "")
|
||||
local is_deleted = parts[2] == "false"
|
||||
|
||||
if base_name ~= "" and not seen[base_name] then
|
||||
|
||||
Reference in New Issue
Block a user