Commit 7d143b1
committed
docs(tooling): correct two LuaDoc annotations from copilot review
- attach_endpoint: mark opts.default_port optional (`default_port?`); the
python DAP caller omits it to mean "port required", which the previous
`integer|nil` value type wrongly flagged as a missing field.
- resolve_runtime_tools: add the `reason` field to the probe return type —
info() reads result.reason (the conform probe's per-buffer unresolved case),
but the annotation omitted it.
Annotation-only; no runtime change.1 parent 6a18bb3 commit 7d143b1
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1357 | 1357 | | |
1358 | 1358 | | |
1359 | 1359 | | |
1360 | | - | |
| 1360 | + | |
1361 | 1361 | | |
1362 | 1362 | | |
1363 | 1363 | | |
| |||
0 commit comments