aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta/vimfn.lua
diff options
context:
space:
mode:
authorJongwook Choi <wookayin@gmail.com>2023-12-29 05:52:31 -0500
committerJongwook Choi <wookayin@gmail.com>2024-01-02 11:32:35 -0500
commitf74f52a1a5ff668187bf12c397319972764a9704 (patch)
tree17ecae1343b467c4c2f84ce7e97abbd33206dfab /runtime/lua/vim/_meta/vimfn.lua
parent4e9298ecdf945b4d16c2c6e6e4ed82b97880917c (diff)
downloadrneovim-f74f52a1a5ff668187bf12c397319972764a9704.tar.gz
rneovim-f74f52a1a5ff668187bf12c397319972764a9704.tar.bz2
rneovim-f74f52a1a5ff668187bf12c397319972764a9704.zip
refactor(gen_vimdoc): refactor section and defgroup doc generation
Problem: main() has too much logic implemented there, too difficult to read. Solution: Do more OOP, introduce `Section` dataclass that stores information about a "section", with documentation and concrete examples about what each field and variable would mean. Extract all the lines for rendering a section into `section.render()` pulled out of `main()`.
Diffstat (limited to 'runtime/lua/vim/_meta/vimfn.lua')
0 files changed, 0 insertions, 0 deletions