We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 527a2d7 commit e5a3ec3Copy full SHA for e5a3ec3
.changeset/wise-carrots-tie.md
@@ -0,0 +1,5 @@
1
+---
2
+'@codeimage/config': patch
3
4
+
5
+Add support for pascal
packages/config/src/lib/base/languages.ts
@@ -752,4 +752,22 @@ export const SUPPORTED_LANGUAGES: readonly LanguageDefinition[] = [
752
},
753
],
754
755
+ {
756
+ id: 'pascal',
757
+ label: 'Pascal',
758
+ color: '#E3F171',
759
+ plugin: () =>
760
+ Promise.all([
761
+ importLegacy(),
762
+ import('@codemirror/legacy-modes/mode/pascal'),
763
+ ]).then(([cb, m]) => cb(m.pascal)),
764
+ icons: [
765
766
+ name: 'Pascal',
767
+ extension: '.pas',
768
+ content: () => import('material-icon-theme/icons/pascal.svg?raw'),
769
+ matcher: /^.*\.(pas)$/,
770
+ },
771
+ ],
772
773
];
0 commit comments