fix: improve last fix by using Prec.highest
This commit is contained in:
parent
1b04243af6
commit
a8d0d39055
2 changed files with 25 additions and 26 deletions
|
|
@ -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),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue