Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ register_lexer
Function
register_lexer
docs/sphinx_extensions/dfhack/lexer.py:24–25 ·
view source on GitHub ↗
(app)
Source
from the content-addressed store, hash-verified
22
}
23
24
def
register_lexer(app):
25
lexers[
'dfhack'
] = DFHackLexer()
26
27
def
setup(app):
28
app.connect(
'builder-inited'
, register_lexer)
Callers
nothing calls this directly
Calls
1
DFHackLexer
Class · 0.85
Tested by
no test coverage detected