支持Spiderfile高亮

This commit is contained in:
marvzhang
2020-01-15 20:36:16 +08:00
parent 4a9585172c
commit f2a9b82c78

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'