提交 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,7 +8,7 @@ import {ModesRegistry} from 'vs/editor/common/modes/modesRegistry'; ...@@ -8,7 +8,7 @@ import {ModesRegistry} from 'vs/editor/common/modes/modesRegistry';
ModesRegistry.registerCompatMode({ ModesRegistry.registerCompatMode({
id: 'php', id: 'php',
extensions: ['.php', '.phtml', '.ctp'], extensions: ['.php', '.php4', '.php5', '.phtml', '.ctp'],
aliases: ['PHP', 'php'], aliases: ['PHP', 'php'],
mimetypes: ['application/x-php'], mimetypes: ['application/x-php'],
moduleId: 'vs/languages/php/common/php', moduleId: 'vs/languages/php/common/php',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册