Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix snippetTextEdits applying to other files
vscode.window.visibleTextEditors only contains editors whose contents are being displayed at the moment, so the previous logic only worked if the other file for which a snippetTextEdit is being received was visible in a separate split. Ported from rust-analyzer: rust-lang/rust-analyzer#5480
- Loading branch information