Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-core/src/syntax/config.rs')
-rw-r--r--helix-core/src/syntax/config.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/helix-core/src/syntax/config.rs b/helix-core/src/syntax/config.rs
index d2e03078..432611bb 100644
--- a/helix-core/src/syntax/config.rs
+++ b/helix-core/src/syntax/config.rs
@@ -7,7 +7,6 @@ use serde::{ser::SerializeSeq as _, Deserialize, Serialize};
use std::{
collections::{HashMap, HashSet},
fmt::{self, Display},
- num::NonZeroU8,
path::PathBuf,
str::FromStr,
};
@@ -61,8 +60,6 @@ pub struct LanguageConfiguration {
/// If set, overrides `editor.path-completion`.
pub path_completion: Option<bool>,
- /// If set, overrides `editor.word-completion`.
- pub word_completion: Option<WordCompletion>,
#[serde(default)]
pub diagnostic_severity: Severity,
@@ -101,8 +98,6 @@ pub struct LanguageConfiguration {
pub workspace_lsp_roots: Option<Vec<PathBuf>>,
#[serde(default)]
pub persistent_diagnostic_sources: Vec<String>,
- /// Overrides the `editor.rainbow-brackets` config key for the language.
- pub rainbow_brackets: Option<bool>,
}
impl LanguageConfiguration {
@@ -270,7 +265,6 @@ pub enum LanguageServerFeature {
WorkspaceSymbols,
// Symbols, use bitflags, see above?
Diagnostics,
- PullDiagnostics,
RenameSymbol,
InlayHints,
DocumentColors,
@@ -295,7 +289,6 @@ impl Display for LanguageServerFeature {
DocumentSymbols => "document-symbols",
WorkspaceSymbols => "workspace-symbols",
Diagnostics => "diagnostics",
- PullDiagnostics => "pull-diagnostics",
RenameSymbol => "rename-symbol",
InlayHints => "inlay-hints",
DocumentColors => "document-colors",
@@ -448,7 +441,6 @@ pub enum DebugArgumentValue {
String(String),
Array(Vec<String>),
Boolean(bool),
- Table(HashMap<String, String>),
}
#[derive(Debug, PartialEq, Eq, Clone, Deserialize, Serialize)]
@@ -580,13 +572,6 @@ pub struct SoftWrap {
pub wrap_at_text_width: Option<bool>,
}
-#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Serialize, Deserialize)]
-#[serde(default, rename_all = "kebab-case", deny_unknown_fields)]
-pub struct WordCompletion {
- pub enable: Option<bool>,
- pub trigger_length: Option<NonZeroU8>,
-}
-
fn deserialize_regex<'de, D>(deserializer: D) -> Result<Option<rope::Regex>, D::Error>
where
D: serde::Deserializer<'de>,