File tree Expand file tree Collapse file tree 2 files changed +0
-7
lines changed
Expand file tree Collapse file tree 2 files changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -1948,10 +1948,6 @@ impl LanguageClient {
19481948 } ) ;
19491949
19501950 self . process_diagnostics ( & current_filename, & diagnostics) ?;
1951- self . update ( |state| {
1952- state. viewports . remove ( & filename) ;
1953- Ok ( ( ) )
1954- } ) ?;
19551951 self . languageClient_handleCursorMoved ( & Value :: Null ) ?;
19561952 self . vim ( ) ?
19571953 . rpcclient
Original file line number Diff line number Diff line change 11use super :: * ;
22use crate :: rpcclient:: RpcClient ;
33use crate :: sign:: Sign ;
4- use crate :: viewport:: Viewport ;
54use crate :: vim:: Vim ;
65use std:: collections:: BTreeMap ;
76use std:: sync:: mpsc;
@@ -136,7 +135,6 @@ pub struct State {
136135 pub last_cursor_line : u64 ,
137136 pub last_line_diagnostic : String ,
138137 pub stashed_codeAction_actions : Vec < CodeAction > ,
139- pub viewports : HashMap < String , Viewport > ,
140138
141139 // User settings.
142140 pub serverCommands : HashMap < String , Vec < String > > ,
@@ -213,7 +211,6 @@ impl State {
213211 last_cursor_line : 0 ,
214212 last_line_diagnostic : " " . into ( ) ,
215213 stashed_codeAction_actions : vec ! [ ] ,
216- viewports : HashMap :: new ( ) ,
217214
218215 serverCommands : HashMap :: new ( ) ,
219216 autoStart : true ,
You can’t perform that action at this time.
0 commit comments