More code written, similar lack of workingness so far
This commit is contained in:
parent
32837d67be
commit
a4ea7bf928
7 changed files with 188 additions and 190 deletions
|
@ -124,17 +124,6 @@ pub fn update_settings_file<T: Settings>(
|
|||
|
||||
pub fn load_default_keymap(cx: &mut AppContext) {
|
||||
for path in ["keymaps/default.json", "keymaps/vim.json"] {
|
||||
// TODO: Remove this conditional when we're ready to add Vim support.
|
||||
// Right now we're avoiding loading the Vim keymap to silence the warnings
|
||||
// about invalid action bindings.
|
||||
if path.contains("vim") {
|
||||
let _: Option<()> = Err(format!(
|
||||
"TODO: Skipping {path} until we're ready to add Vim support"
|
||||
))
|
||||
.log_err();
|
||||
continue;
|
||||
}
|
||||
|
||||
KeymapFile::load_asset(path, cx).unwrap();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue