fix(config): Don't correct windo in vim

Fixes #539
This commit is contained in:
Ed Page 2022-08-23 08:25:12 -05:00
parent 58012099b1
commit 7d6047e743

View file

@ -193,6 +193,34 @@ impl TypeEngineConfig {
..Default::default()
},
});
patterns
.entry("vim".into())
.or_insert_with(|| GlobEngineConfig {
extend_glob: Vec::new(),
engine: EngineConfig {
dict: Some(DictConfig {
extend_identifiers: maplit::hashmap! {
"windo".into() => "windo".into(),
},
..Default::default()
}),
..Default::default()
},
});
patterns
.entry("vimscript".into())
.or_insert_with(|| GlobEngineConfig {
extend_glob: Vec::new(),
engine: EngineConfig {
dict: Some(DictConfig {
extend_identifiers: maplit::hashmap! {
"windo".into() => "windo".into(),
},
..Default::default()
}),
..Default::default()
},
});
patterns
.entry("rust".into())
.or_insert_with(|| GlobEngineConfig {