Compare commits

..

No commits in common. "725862a39420b883f5645a752b357b5d44fdf470" and "4847a1f584e1717c35c28d91fdace5bae93e0cf6" have entirely different histories.

2 changed files with 3 additions and 5 deletions

View file

@ -53,8 +53,7 @@
["shift+alt+f9", "hint_window_next_widget_style"], ["shift+alt+f9", "hint_window_next_widget_style"],
["alt+!", "run_task"], ["alt+!", "run_task"],
["ctrl+tab", "next_tab"], ["ctrl+tab", "next_tab"],
["ctrl+shift+g s", "show_vcs_status"], ["ctrl+shift+g", "show_vcs_status"],
["ctrl+shift+g alt+b", "toggle_inline_vcs_blame"],
["ctrl+shift+tab", "previous_tab"], ["ctrl+shift+tab", "previous_tab"],
["ctrl+page_down", "next_tab"], ["ctrl+page_down", "next_tab"],
["ctrl+page_up", "previous_tab"], ["ctrl+page_up", "previous_tab"],

View file

@ -49,9 +49,8 @@ pub fn load_entries(palette: *Type) !usize {
if (!try cbor.matchValue(&iter, cbor.extract_cbor(&cbor_item))) return error.BadCompletion; if (!try cbor.matchValue(&iter, cbor.extract_cbor(&cbor_item))) return error.BadCompletion;
const values = get_values(cbor_item); const values = get_values(cbor_item);
const dup_text = if (values.sort_text.len > 0) values.sort_text else values.label; if (existing.contains(values.sort_text)) continue;
if (existing.contains(dup_text)) continue; try existing.put(palette.allocator, values.sort_text, {});
try existing.put(palette.allocator, dup_text, {});
if (palette.value.replace == null) if (get_replace_selection(values.replace)) |replace| { if (palette.value.replace == null) if (get_replace_selection(values.replace)) |replace| {
palette.value.replace = replace; palette.value.replace = replace;