Unnamed repository; edit this file 'description' to name the repository.
Revert "matching brace"
This reverts commit 4b2055a4eb1c822140ad2aca908dd6dfa19cd330.
bendn 3 days ago
parent a3cbb48 · commit 577e0f1
-rw-r--r--helix-lsp-types/src/request.rs17
1 files changed, 0 insertions, 17 deletions
diff --git a/helix-lsp-types/src/request.rs b/helix-lsp-types/src/request.rs
index eb11d6fb..e7493862 100644
--- a/helix-lsp-types/src/request.rs
+++ b/helix-lsp-types/src/request.rs
@@ -210,9 +210,6 @@ macro_rules! lsp_request {
("experimental/onEnter") => {
$crate::request::OnEnter
};
- ("experimental/matchingBrace") => {
- $crate::request::MatchingBrace
- };
}
/// The initialize request is sent as the first request from the client to the server.
@@ -982,20 +979,6 @@ impl Request for OnEnter {
type Result = Option<Vec<SnippetTextEdit>>;
const METHOD: &'static str = "experimental/onEnter";
}
-#[derive(Debug, Eq, PartialEq, Clone, Deserialize, Serialize)]
-#[serde(rename_all = "camelCase")]
-pub struct MatchingBraceParams {
- pub text_document: TextDocumentIdentifier,
- /// Position for each cursor
- pub positions: Vec<Position>,
-}
-#[derive(Debug)]
-pub enum MatchingBrace {}
-impl Request for MatchingBrace {
- type Params = MatchingBraceParams;
- const METHOD: &'static str = "experimental/matchingBrace";
- type Result = Option<Vec<Position>>;
-}
#[cfg(test)]
mod test {