import { registerCodeHighlighting } from "@lexical/code";
import { useLexicalComposerContext } from "@lexical/react/LexicalComposerContext";
import { useEffect } from "react";
function CodeHighlightPlugin() {
    const [editor] = useLexicalComposerContext();
    useEffect(()=>registerCodeHighlighting(editor), [
        editor
    ]);
    return null;
}
export { CodeHighlightPlugin as default };
