Skip to content

Commit

Permalink
Reset view when switching from continuous to manual.
Browse files Browse the repository at this point in the history
  • Loading branch information
rtetley committed Nov 27, 2023
1 parent 8753b5a commit e73076b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion language-server/vscoqtop/lspManager.ml
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,9 @@ let run_documents () =
let reset_observe_ids =
let reset_doc_observe_id path (st : Dm.DocumentManager.state) events =
let st = Dm.DocumentManager.reset_to_top st in
Hashtbl.replace states path st
let uri = DocumentUri.of_path path in
Hashtbl.replace states path st;
update_view uri st
in
Hashtbl.fold reset_doc_observe_id states

Expand Down

0 comments on commit e73076b

Please sign in to comment.