aboutsummaryrefslogtreecommitdiff
path: root/helix-core
diff options
context:
space:
mode:
authorGokul Soumya2021-12-07 15:57:21 +0000
committerBlaž Hrastnik2021-12-08 01:23:50 +0000
commitd08bdfa838098769afc59146b62f9d613d4a7ff4 (patch)
treec42908b0cf03001b550e0685662fa18a9e409f42 /helix-core
parent70c989e122e498705606da3beb4154564b9a14d2 (diff)
Use same name used in config files for langs in docs
Diffstat (limited to 'helix-core')
-rw-r--r--helix-core/src/indent.rs1
-rw-r--r--helix-core/src/syntax.rs1
2 files changed, 0 insertions, 2 deletions
diff --git a/helix-core/src/indent.rs b/helix-core/src/indent.rs
index 3ce3620a..b6f5081a 100644
--- a/helix-core/src/indent.rs
+++ b/helix-core/src/indent.rs
@@ -452,7 +452,6 @@ where
file_types: vec!["rs".to_string()],
shebangs: vec![],
language_id: "Rust".to_string(),
- display_name: "Rust".to_string(),
highlight_config: OnceCell::new(),
config: None,
//
diff --git a/helix-core/src/syntax.rs b/helix-core/src/syntax.rs
index 3c65ae33..ef35fc75 100644
--- a/helix-core/src/syntax.rs
+++ b/helix-core/src/syntax.rs
@@ -51,7 +51,6 @@ pub struct Configuration {
pub struct LanguageConfiguration {
#[serde(rename = "name")]
pub language_id: String, // c-sharp, rust
- pub display_name: String, // C#, Rust
pub scope: String, // source.rust
pub file_types: Vec<String>, // filename ends_with? <Gemfile, rb, etc>
#[serde(default)]