Commit 87698cd
committed
fix: move Typst annotation require() inside function scope
The bundled main.lua is at exactly 200 top-level locals (the Lua
compiler limit). Move the require("modules/typst-code-annotations")
from file scope into the code_annotations() function body so it
does not add to the top-level local count.1 parent ae392ad commit 87698cd
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
289 | 288 | | |
290 | 289 | | |
291 | 290 | | |
| 291 | + | |
| 292 | + | |
292 | 293 | | |
293 | 294 | | |
294 | 295 | | |
| |||
0 commit comments