提交 4a94f914 编写于 作者: I Ivan Enderlin

Languages: Add `.php4` and `.php5` as extensions

I am not responsible of this stup*d*t* but unfortunately these extensions are very common…
上级 b8a27448
......@@ -8,9 +8,9 @@ import {ModesRegistry} from 'vs/editor/common/modes/modesRegistry';
ModesRegistry.registerCompatMode({
id: 'php',
extensions: ['.php', '.phtml', '.ctp'],
extensions: ['.php', '.php4', '.php5', '.phtml', '.ctp'],
aliases: ['PHP', 'php'],
mimetypes: ['application/x-php'],
moduleId: 'vs/languages/php/common/php',
ctorName: 'PHPMode'
});
\ No newline at end of file
});
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册