@@ -56,7 +56,7 @@ impl Into<BaseKeymapContent> for BaseKeymap {
|
|||||||
impl Display for BaseKeymap {
|
impl Display for BaseKeymap {
|
||||||
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
|
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
|
||||||
match self {
|
match self {
|
||||||
BaseKeymap::VSCode => write!(f, "VSCode"),
|
BaseKeymap::VSCode => write!(f, "VS Code"),
|
||||||
BaseKeymap::JetBrains => write!(f, "JetBrains"),
|
BaseKeymap::JetBrains => write!(f, "JetBrains"),
|
||||||
BaseKeymap::SublimeText => write!(f, "Sublime Text"),
|
BaseKeymap::SublimeText => write!(f, "Sublime Text"),
|
||||||
BaseKeymap::Atom => write!(f, "Atom"),
|
BaseKeymap::Atom => write!(f, "Atom"),
|
||||||
@@ -71,7 +71,7 @@ impl Display for BaseKeymap {
|
|||||||
impl BaseKeymap {
|
impl BaseKeymap {
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(target_os = "macos")]
|
||||||
pub const OPTIONS: [(&'static str, Self); 7] = [
|
pub const OPTIONS: [(&'static str, Self); 7] = [
|
||||||
("VSCode (Default)", Self::VSCode),
|
("VS Code (Default)", Self::VSCode),
|
||||||
("Atom", Self::Atom),
|
("Atom", Self::Atom),
|
||||||
("JetBrains", Self::JetBrains),
|
("JetBrains", Self::JetBrains),
|
||||||
("Sublime Text", Self::SublimeText),
|
("Sublime Text", Self::SublimeText),
|
||||||
@@ -82,7 +82,7 @@ impl BaseKeymap {
|
|||||||
|
|
||||||
#[cfg(not(target_os = "macos"))]
|
#[cfg(not(target_os = "macos"))]
|
||||||
pub const OPTIONS: [(&'static str, Self); 6] = [
|
pub const OPTIONS: [(&'static str, Self); 6] = [
|
||||||
("VSCode (Default)", Self::VSCode),
|
("VS Code (Default)", Self::VSCode),
|
||||||
("Atom", Self::Atom),
|
("Atom", Self::Atom),
|
||||||
("JetBrains", Self::JetBrains),
|
("JetBrains", Self::JetBrains),
|
||||||
("Sublime Text", Self::SublimeText),
|
("Sublime Text", Self::SublimeText),
|
||||||
|
|||||||
Reference in New Issue
Block a user