mirror of
https://github.com/neovim/neovim.git
synced 2026-05-26 14:58:28 +00:00
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:
11
runtime/lua/vim/_meta/tui.lua
Normal file
11
runtime/lua/vim/_meta/tui.lua
Normal 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
|
||||
--- <
|
||||
Reference in New Issue
Block a user