euporie.core.widgets.cell.DynamicLexer

class euporie.core.widgets.cell.DynamicLexer(get_lexer: Callable[[], prompt_toolkit.lexers.base.Lexer | None])

Lexer class that can dynamically returns any Lexer.

Parameters

get_lexer – Callable that returns a Lexer instance.