支持Spiderfile高亮

This commit is contained in:
marvzhang
2020-01-15 20:36:16 +08:00
parent 5ec89bddab
commit c76d88733e

View File

@@ -62,7 +62,7 @@ export default {
return 'text/x-php'
} else if (fileName.match(/\.md$/)) {
return 'text/x-markdown'
} else if (fileName === 'Spiderfile') {
} else if (fileName.match('Spiderfile')) {
return 'text/x-yaml'
} else {
return 'text'