Fix formatting

This commit is contained in:
Aleksey Kladov 2020-05-24 17:04:17 +02:00
parent dec4ba8023
commit 5276bfff81
2 changed files with 1 additions and 4 deletions

View file

@ -60,7 +60,6 @@ pub struct ExpandedMacro {
pub expansion: String,
}
pub enum MatchingBrace {}
impl Request for MatchingBrace {

View file

@ -509,9 +509,7 @@ fn on_request(
.on_sync::<lsp_types::request::SelectionRangeRequest>(|s, p| {
handlers::handle_selection_range(s.snapshot(), p)
})?
.on_sync::<lsp_ext::MatchingBrace>(|s, p| {
handlers::handle_matching_brace(s.snapshot(), p)
})?
.on_sync::<lsp_ext::MatchingBrace>(|s, p| handlers::handle_matching_brace(s.snapshot(), p))?
.on::<lsp_ext::AnalyzerStatus>(handlers::handle_analyzer_status)?
.on::<lsp_ext::SyntaxTree>(handlers::handle_syntax_tree)?
.on::<lsp_ext::ExpandMacro>(handlers::handle_expand_macro)?