Add VIM_KEYMAP_PATH
constant (#23228)
Deduplicates 2 occurrences Release Notes: - N/A
This commit is contained in:
parent
972176a574
commit
f51db18b3c
2 changed files with 5 additions and 3 deletions
|
@ -82,8 +82,10 @@ pub fn default_keymap() -> Cow<'static, str> {
|
|||
asset_str::<SettingsAssets>(DEFAULT_KEYMAP_PATH)
|
||||
}
|
||||
|
||||
pub const VIM_KEYMAP_PATH: &str = "keymaps/vim.json";
|
||||
|
||||
pub fn vim_keymap() -> Cow<'static, str> {
|
||||
asset_str::<SettingsAssets>("keymaps/vim.json")
|
||||
asset_str::<SettingsAssets>(VIM_KEYMAP_PATH)
|
||||
}
|
||||
|
||||
pub fn initial_user_settings_content() -> Cow<'static, str> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue