mirror of
https://github.com/cfngc4594/monaco-editor-lsp-next.git
synced 2025-05-18 15:26:36 +00:00
chore(shiki): convert function to arrow function
This commit is contained in:
parent
baf377b722
commit
9ec8768393
@ -9,7 +9,7 @@ const languages = [...Object.values(EditorLanguage), "markdown"];
|
||||
// Use lazy initialization for highlighter
|
||||
let highlighter: Highlighter;
|
||||
|
||||
async function initializeHighlighter() {
|
||||
const initializeHighlighter = async () => {
|
||||
try {
|
||||
highlighter = await createHighlighter({
|
||||
themes: themes, // Use all values from the Theme enum
|
||||
|
Loading…
Reference in New Issue
Block a user