Skip to content

Commit

Permalink
Merge pull request #66 from 3meraldK/fix-session-restore-syntax
Browse files Browse the repository at this point in the history
Fix syntax highlighting in session restoring
  • Loading branch information
NotroDev authored Jun 11, 2024
2 parents 849da5d + 30173ad commit e13fb4a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions SkEditor/Utilities/Files/SessionRestorer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using SkEditor.Utilities.Syntax;

namespace SkEditor.Utilities.Files;
public static class SessionRestorer
Expand Down Expand Up @@ -82,6 +83,7 @@ public static async Task<bool> RestoreSession()
filesAdded = true;
}

await SyntaxLoader.RefreshSyntaxAsync();
return filesAdded;
}
}

0 comments on commit e13fb4a

Please sign in to comment.