Feature(custom): add preview support for more types of text file

This commit is contained in:
Kuingsmile
2023-12-09 19:03:11 -08:00
parent 6d7584e566
commit 2c46dca064
2 changed files with 31 additions and 24 deletions

View File

@@ -1,13 +1,16 @@
export const textFileExt = [
'.applescript',
'.bat',
'.c',
'.cmd',
'.condarc',
'.conf',
'.config',
'.cpp',
'.css',
'.csv',
'.dart',
'.eslintignore',
'.gitattributes',
'.gitconfig',
'.gitignore',
@@ -22,20 +25,24 @@ export const textFileExt = [
'.java',
'.js',
'.json',
'.jsx',
'.lock',
'.log',
'.php',
'.prop',
'.properties',
'.ps1',
'.py',
'.rc',
'.sh',
'.ts',
'.tsv',
'.tsx',
'.txt',
'.vue',
'.xml',
'.yaml',
'.yml',
'.ts',
'.yarnrc',
'.condarc',
'license'
]