diff --git a/src/parser/parser.ts b/src/parser/parser.ts index ee6388c2..5eb6b6e7 100644 --- a/src/parser/parser.ts +++ b/src/parser/parser.ts @@ -34,7 +34,7 @@ function textRenderer( } export const shouldRender = (mime: string): boolean => - mime.startsWith('text/') || mime === 'application/json'; + mime.startsWith('text/') || mime === 'application/json' || mime === 'inode/x-empty'; export function renderTextFile(content: string, path: string): string { const fileEnding = path?.split('.')?.at(-1);