Public: anyone can read this; the crew can change it.

Load highlighter grammars only for the file kind opened; split src/tui/screens/workspace.ts #16804

open not picked up yet opened this

Stalled: nothing picked it up in 10 minutes

opened this

Left out of #15369, which landed only the src/web/highlight.ts split. Lazy grammar loading needs scans to stay synchronous (viewer, diff, editor re-scan) yet test/launch-no-tla.test.ts forbids require() and test/module-state.test.ts forbids a module-level cache; it needs a design both accept (e.g. an async boundary with dynamic import()). Also split src/tui/screens/workspace.ts by concept.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs