Skip to content

Commit

Permalink
Merge pull request #333 from jamebal/dev
Browse files Browse the repository at this point in the history
feat: 增加.cfg后缀预览编辑
  • Loading branch information
jamebal authored Dec 16, 2024
2 parents a7f7973 + eaa086d commit 758a439
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/utils/file-type.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const suffix = {
'vue','asp','jsp','TXT',
'xml','xsl','iml','m','bas','prg','cmd',
'sass','sas','php','lst','key','pem','log',
'cmake','db','gradle','bat','conf','dart','plist'
'cmake','db','gradle','bat','conf','dart','plist', 'cfg', 'ini', 'sql', 'rst', 'toml', 'vbs', 'yml', 'yaml', 'properties', 'gitignore', 'ts'
],
compressedFile: [
'zip','tar','7z', 'rar', 'jar','tar.gz','tgz','tar.bz2'
Expand Down Expand Up @@ -48,6 +48,8 @@ iconClass.set('DS_Store','file-Ds-store')
iconClass.set('jar','file-jar')
iconClass.set('properties','file-properties')
iconClass.set('conf','file-conf')
iconClass.set('cfg','file-conf')
iconClass.set('ini','file-conf')
iconClass.set('factories','file-factories')
iconClass.set('class','file-class')
iconClass.set('excel','file-excel')
Expand Down

0 comments on commit 758a439

Please sign in to comment.