mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-07-21 04:41:38 +08:00
✨ Feature(custom): add preview support for more types of text file
This commit is contained in:
@@ -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'
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user