aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src
diff options
context:
space:
mode:
authorKevin Sjöberg2022-01-15 06:23:06 +0000
committerGitHub2022-01-15 06:23:06 +0000
commit3a34036310d502fe99887c7f15f02784475d6dc5 (patch)
treef5b7ab4383e631bc9563ee9dc467dac89e65e70a /helix-core/src
parent97e6f2a38f28bf0051b96fa6f0f5786746b83e74 (diff)
Use the correct language ID for JavaScript & TypeScript (#1466)
* Use correct language ID for JavaScript/TypeScript * Add missing slash * Only calculate fallback when needed
Diffstat (limited to 'helix-core/src')
-rw-r--r--helix-core/src/syntax.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-core/src/syntax.rs b/helix-core/src/syntax.rs
index 5d37c219..c7a3e1cc 100644
--- a/helix-core/src/syntax.rs
+++ b/helix-core/src/syntax.rs
@@ -95,6 +95,7 @@ pub struct LanguageServerConfiguration {
#[serde(default)]
#[serde(skip_serializing_if = "Vec::is_empty")]
pub args: Vec<String>,
+ pub language_id: Option<String>,
}
#[derive(Debug, Serialize, Deserialize)]