Merge pull request #1770 from xKevIsDev/enhancements
fix: add binary file detection support
This commit is contained in:
@@ -50,6 +50,7 @@ export class EditorStore {
|
||||
{
|
||||
value: dirent.content,
|
||||
filePath,
|
||||
isBinary: dirent.isBinary, // Add this line
|
||||
scroll: previousDocument?.scroll,
|
||||
},
|
||||
] as [string, EditorDocument];
|
||||
|
||||
Reference in New Issue
Block a user