Various LSP or LSP tangental changes

This commit is contained in:
2025-08-09 15:57:07 -05:00
parent 2ede33f3c2
commit df5f2d481a
4 changed files with 155 additions and 60 deletions

View File

@@ -99,6 +99,11 @@ export class LspManagerComponent {
this.lspManagerService.createLanguageProviderWithClientServer(mode);
}
public closeLanguageClient() {
let mode = this.lspManagerService.getMode(this.editor.session);
this.lspManagerService.closeLanguageProviderWithClientServer(mode);
}
public registerEditorToLanguageClient() {
this.lspManagerService.registerEditorToLSPClient(this.editor);
}