@@ -11,8 +11,6 @@ use toml::de::Error as TomlError;
1111#[serde(deny_unknown_fields)]
1212pub struct Config {
1313 pub theme: Option<String>,
14− #[serde(default)]
15− pub lsp: LspConfig,
1614 #[serde(default = "default")]
1715 pub keys: HashMap<Mode, Keymap>,
1816 #[serde(default)]
@@ -23,7 +21,6 @@ impl Default for Config {
2321 fn default() -> Config {
2422 Config {
2523 theme: None,
26− lsp: LspConfig::default(),
2724 keys: default(),
2825 editor: helix_view::editor::Config::default(),
2926 }
@@ -45,12 +42,6 @@ impl Display for ConfigLoadError {
4542 }
4643}
4744
48−#[derive(Debug, Default, Clone, PartialEq, Deserialize)]
49−#[serde(rename_all = "kebab-case", deny_unknown_fields)]
50−pub struct LspConfig {
51− pub display_messages: bool,
52−}
53−
5445impl Config {
5546 pub fn load(config_path: PathBuf) -> Result<Config, ConfigLoadError> {
5647 match std::fs::read_to_string(config_path) {