Add completion, browser integration, and workspace improvements
This commit is contained in:
@@ -76,6 +76,7 @@ export class Documents {
|
||||
const index = this.buffers.indexOf(previous);
|
||||
const opened = this.buffers.find(b => b.relPath === entry.rel_path);
|
||||
if (index !== -1 && opened) {
|
||||
opened.tabId = previous.tabId ?? previous.id;
|
||||
this.buffers = this.buffers.filter(b => b !== opened);
|
||||
this.buffers.splice(this.buffers.indexOf(previous), 1, opened);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user