File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -116,30 +116,6 @@ export function matchingBrace(ctx: Ctx): Cmd {
116
116
} ;
117
117
}
118
118
119
- export function hoverRange ( ctx : Ctx ) : Cmd {
120
- return async ( ) => {
121
- const editor = ctx . activeRustEditor ;
122
- const client = ctx . client ;
123
- if ( ! editor || ! client ) return ;
124
-
125
- client
126
- . sendRequest ( ra . hoverRange , {
127
- textDocument : client . code2ProtocolConverter . asTextDocumentIdentifier (
128
- editor . document
129
- ) ,
130
- range : client . code2ProtocolConverter . asRange ( editor . selection ) ,
131
- } )
132
- . then (
133
- ( result ) => client . protocol2CodeConverter . asHover ( result ) ,
134
- ( error ) => {
135
- client . handleFailedRequest ( lc . HoverRequest . type , undefined , error , null ) ;
136
- return Promise . resolve ( null ) ;
137
- }
138
- ) ;
139
- } ;
140
- }
141
-
142
-
143
119
export function joinLines ( ctx : Ctx ) : Cmd {
144
120
return async ( ) => {
145
121
const editor = ctx . activeRustEditor ;
You can’t perform that action at this time.
0 commit comments