mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-11 13:10:54 +00:00
21 lines
531 B
Rust
21 lines
531 B
Rust
|
use serde::{Deserialize, Serialize};
|
||
|
use std::num::NonZeroU32;
|
||
|
|
||
|
#[derive(Debug, Serialize, Deserialize)]
|
||
|
pub struct LanguageSettings {
|
||
|
pub tab_size: NonZeroU32,
|
||
|
}
|
||
|
|
||
|
#[derive(Default, Debug, Serialize, Deserialize)]
|
||
|
pub struct LspSettings {
|
||
|
pub binary: Option<BinarySettings>,
|
||
|
pub initialization_options: Option<serde_json::Value>,
|
||
|
pub settings: Option<serde_json::Value>,
|
||
|
}
|
||
|
|
||
|
#[derive(Debug, Serialize, Deserialize)]
|
||
|
pub struct BinarySettings {
|
||
|
pub path: Option<String>,
|
||
|
pub arguments: Option<Vec<String>>,
|
||
|
}
|