Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the original document and view for mode transition hooks (helix-e…
…ditor#3508) When changing focus, the lookup with `current!` may change the view and end up executing mode transition hooks on the newly focused view. We should use the same view and document to execute mode transition hooks so that switching away from a view triggers history save points.
- Loading branch information