Skip to content

Commit

Permalink
Update lsp-types dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceManiac committed Apr 4, 2020
1 parent abe7e76 commit b3c77cf
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/langserver/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ serde = "1.0.27"
serde_json = "1.0.10"
serde_derive = "1.0.27"
jsonrpc-core = "14.0.3"
lsp-types = "0.70.0"
lsp-types = "0.73.0"
dreammaker = { path = "../dreammaker" }
dreamchecker = { path = "../dreamchecker" }
interval-tree = { path = "../interval-tree" }
Expand Down
14 changes: 7 additions & 7 deletions src/langserver/extras.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ impl Notification for WindowStatus {
const METHOD: &'static str = "$window/status";
type Params = WindowStatusParams;
}
#[derive(Debug, Default, Serialize)]
#[derive(Debug, Default, Serialize, Deserialize)]
pub struct WindowStatusParams {
pub environment: Option<String>,
pub tasks: Vec<String>,
Expand All @@ -20,11 +20,11 @@ impl Notification for ObjectTree {
const METHOD: &'static str = "experimental/dreammaker/objectTree";
type Params = ObjectTreeParams;
}
#[derive(Debug, Serialize)]
#[derive(Debug, Serialize, Deserialize)]
pub struct ObjectTreeParams {
pub root: ObjectTreeType,
}
#[derive(Debug, Serialize)]
#[derive(Debug, Serialize, Deserialize)]
pub struct ObjectTreeType {
pub name: String,
pub kind: SymbolKind,
Expand All @@ -33,14 +33,14 @@ pub struct ObjectTreeType {
pub procs: Vec<ObjectTreeProc>,
pub children: Vec<ObjectTreeType>,
}
#[derive(Debug, Serialize)]
#[derive(Debug, Serialize, Deserialize)]
pub struct ObjectTreeVar {
pub name: String,
pub kind: SymbolKind,
pub location: Option<lsp_types::Location>,
pub is_declaration: bool,
}
#[derive(Debug, Serialize)]
#[derive(Debug, Serialize, Deserialize)]
pub struct ObjectTreeProc {
pub name: String,
pub kind: SymbolKind,
Expand All @@ -60,11 +60,11 @@ impl Request for StartDebugger {
type Params = StartDebuggerParams;
type Result = StartDebuggerResult;
}
#[derive(Debug, Deserialize)]
#[derive(Debug, Serialize, Deserialize)]
pub struct StartDebuggerParams {
pub dreamseeker_exe: String,
}
#[derive(Debug, Serialize)]
#[derive(Debug, Serialize, Deserialize)]
pub struct StartDebuggerResult {
pub port: u16,
}

0 comments on commit b3c77cf

Please sign in to comment.