Fix delayed lsp request
This commit is contained in:
parent
722023e347
commit
93158bfcff
2 changed files with 20 additions and 7 deletions
|
@ -988,7 +988,6 @@ impl LspCommand for GetHover {
|
|||
_: ModelHandle<Buffer>,
|
||||
_: AsyncAppContext,
|
||||
) -> Result<Self::Response> {
|
||||
println!("Response from proto");
|
||||
let range = if let (Some(start), Some(end)) = (message.start, message.end) {
|
||||
language::proto::deserialize_anchor(start)
|
||||
.and_then(|start| language::proto::deserialize_anchor(end).map(|end| start..end))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue