diff --git a/packages/prettify/src/parser/language.ts b/packages/prettify/src/parser/language.ts index 560f9b57..8a50933f 100644 --- a/packages/prettify/src/parser/language.ts +++ b/packages/prettify/src/parser/language.ts @@ -2,7 +2,7 @@ import { assign } from '@utils/native'; import { cc, NIL } from '@utils/chars'; import { is } from '@utils/helpers'; import { Language, LanguageNames, Prettify } from 'types/prettify'; -import { prettify } from '@prettify/model'; +import { prettify } from '@prettify/*'; export const lexmap = { markup: 'markup', @@ -50,7 +50,7 @@ export function setLexer (input: string) { } -function setLanguageName (input: string) { +export function setLanguageName (input: string) { if (typeof input !== 'string' || map[input] === undefined) return input.toUpperCase();