diff options
Diffstat (limited to 'helix-term/src/config.rs')
-rw-r--r-- | helix-term/src/config.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/helix-term/src/config.rs b/helix-term/src/config.rs index 06e44ad9..4407a882 100644 --- a/helix-term/src/config.rs +++ b/helix-term/src/config.rs @@ -11,8 +11,6 @@ use toml::de::Error as TomlError; #[serde(deny_unknown_fields)] pub struct Config { pub theme: Option<String>, - #[serde(default)] - pub lsp: LspConfig, #[serde(default = "default")] pub keys: HashMap<Mode, Keymap>, #[serde(default)] @@ -23,7 +21,6 @@ impl Default for Config { fn default() -> Config { Config { theme: None, - lsp: LspConfig::default(), keys: default(), editor: helix_view::editor::Config::default(), } @@ -45,12 +42,6 @@ impl Display for ConfigLoadError { } } -#[derive(Debug, Default, Clone, PartialEq, Deserialize)] -#[serde(rename_all = "kebab-case", deny_unknown_fields)] -pub struct LspConfig { - pub display_messages: bool, -} - impl Config { pub fn load(config_path: PathBuf) -> Result<Config, ConfigLoadError> { match std::fs::read_to_string(config_path) { |