WIP lsp-manager effort 4
This commit is contained in:
@@ -103,6 +103,7 @@ export class LspManagerComponent {
|
||||
this.editor.session,
|
||||
this.activeFile.path
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -124,7 +125,7 @@ export class LspManagerComponent {
|
||||
|
||||
// Note: hack for issue with setActiveEditor TODO
|
||||
setTimeout(() => {
|
||||
this.innerEditor.setSession(this.editor.session);
|
||||
this.innerEditor.setSession(this.editor.getSession());
|
||||
}, 10);
|
||||
}
|
||||
|
||||
@@ -145,6 +146,7 @@ export class LspManagerComponent {
|
||||
this.editor.session,
|
||||
this.activeFile.path
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
private closeFile(message: ServiceMessage) {
|
||||
|
Reference in New Issue
Block a user