fix: improve last fix by using Prec.highest

This commit is contained in:
Felix Roos 2023-12-15 00:07:08 +01:00
parent 1b04243af6
commit a8d0d39055
2 changed files with 25 additions and 26 deletions

View file

@ -24,11 +24,8 @@ const keymaps = {
vscode: vscodeExtension,
};
// filter out Mod-Enter to fix linux ctrl+enter
const _defaultKeymap = defaultKeymap.filter((kb) => kb.key !== 'Mod-Enter');
export function keybindings(name) {
const active = keymaps[name];
return [keymap.of(_defaultKeymap), keymap.of(historyKeymap), active ? active() : []];
return [keymap.of(defaultKeymap), keymap.of(historyKeymap), active ? active() : []];
// keymap.of(searchKeymap),
}