mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
update lsp
This commit is contained in:
parent
5a2a97c7e8
commit
64ecba4f15
5 changed files with 43 additions and 32 deletions
|
@ -1,7 +1,6 @@
|
|||
use lsp_types::{Location, Position, Range, TextDocumentIdentifier, Url};
|
||||
use rustc_hash::FxHashMap;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use url_serde;
|
||||
|
||||
pub use lsp_types::{
|
||||
notification::*, request::*, ApplyWorkspaceEditParams, CodeActionParams, CodeLens,
|
||||
|
@ -98,7 +97,6 @@ impl Notification for PublishDecorations {
|
|||
#[derive(Serialize, Debug)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct PublishDecorationsParams {
|
||||
#[serde(with = "url_serde")]
|
||||
pub uri: Url,
|
||||
pub decorations: Vec<Decoration>,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue