Added lsp service methods; fixed margin width line; cleanup

This commit is contained in:
2025-06-27 23:52:41 -05:00
parent d7c8ea1902
commit d1dbb7efcc
5 changed files with 20 additions and 7 deletions

View File

@@ -90,10 +90,8 @@ export class FilesService {
data = await window.fs.getFileContents(file.path);
file.session = new EditSession(data);
file.session.setMode(
getModeForPath( file.path ).mode
);
file.session.setUndoManager( new UndoManager() );
file.session.setMode( getModeForPath( file.path ).mode );
this.files.set(file.path, file);
} catch (error) {