refactor(docs): generate tui.txt $NVIM_TERMDEFS keys #39836

Problem:
Potential documentation drift in `tui.txt` if fields for
`$NVIM_TERMDEFS` change.

Solution:
Generate docs for `tui.txt`. Add `brief_xform` to `gen_vimdoc.lua` to
allow transforming briefs during generation.
This commit is contained in:
Kyle
2026-05-21 03:39:45 -05:00
committed by GitHub
parent a952575c3b
commit 7337e02563
10 changed files with 213 additions and 110 deletions

View File

@@ -0,0 +1,11 @@
--- @meta
-- This file is NOT generated, edit it directly.
error('Cannot require a meta file')
--- @brief <pre>help
--- Below are the available fields in |$NVIM_TERMDEFS|. For keys of type `string[]`,
--- the first entry is the unshifted variant of the key, and the second entry is
--- the shifted variant. >
---
--- NVIM_TERMDEFS_TABLE
--- <