81355755a6d7d3c6c5c406629ad57e028616b726c7bc3ab9ba5c28d1e87e181657541c79071f1da8d62e8975f28d407a7af69b3a180216a7580f5268501fe7 868 B

123456789101112131415161718192021222324
  1. /*!-----------------------------------------------------------------------------
  2. * Copyright (c) Microsoft Corporation. All rights reserved.
  3. * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
  4. * Released under the MIT license
  5. * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
  6. *-----------------------------------------------------------------------------*/
  7. // src/basic-languages/php/php.contribution.ts
  8. import { registerLanguage } from "../_.contribution.js";
  9. registerLanguage({
  10. id: "php",
  11. extensions: [".php", ".php4", ".php5", ".phtml", ".ctp"],
  12. aliases: ["PHP", "php"],
  13. mimetypes: ["application/x-php"],
  14. loader: () => {
  15. if (false) {
  16. return new Promise((resolve, reject) => {
  17. __require(["vs/basic-languages/php/php"], resolve, reject);
  18. });
  19. } else {
  20. return import("./php.js");
  21. }
  22. }
  23. });