diff options
author | Lewis Russell <lewis6991@gmail.com> | 2025-01-16 20:53:17 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-16 20:53:17 +0000 |
commit | fb564ddff0b4ec9dad5afa7548777af1c3044273 (patch) | |
tree | bece6f53cd54b2b5c85228d689ac88e227b9e250 /runtime/lua/vim/_meta/vimfn.lua | |
parent | 92d3bf101d07d52cfbd4c22e6e06251897adda34 (diff) | |
download | rneovim-fb564ddff0b4ec9dad5afa7548777af1c3044273.tar.gz rneovim-fb564ddff0b4ec9dad5afa7548777af1c3044273.tar.bz2 rneovim-fb564ddff0b4ec9dad5afa7548777af1c3044273.zip |
refactor(options): generic expand and did_set callbacks (#32011)
* refactor(options): generic expand and did_set callbacks
Problem:
Many options have similar callbacks to check the values are valid.
Solution:
Generalize these callbacks into a single function that reads the option
table.
* refactor: gen_options.lua
refactor: gen_options.lua - inline get_cond
* refactor(options): use a simpler format for the common default
Diffstat (limited to 'runtime/lua/vim/_meta/vimfn.lua')
0 files changed, 0 insertions, 0 deletions