aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/help_spec.lua
diff options
context:
space:
mode:
authorFamiu Haque <famiuhaque@protonmail.com>2022-09-27 21:16:28 +0600
committerFamiu Haque <famiuhaque@protonmail.com>2022-09-28 09:29:43 +0600
commit4b7904d16b11915b16ea46b96f1ea6e28d87d5fd (patch)
treef57971615622d4ae3f6d289da8fcb6730f8a28f1 /test/functional/lua/help_spec.lua
parent1d337d4e2f2265b13ecf19a3bc17ad302d3b0d96 (diff)
downloadrneovim-4b7904d16b11915b16ea46b96f1ea6e28d87d5fd.tar.gz
rneovim-4b7904d16b11915b16ea46b96f1ea6e28d87d5fd.tar.bz2
rneovim-4b7904d16b11915b16ea46b96f1ea6e28d87d5fd.zip
refactor: replace unnecessary helper functions in optionstr.c
Replaces unnecessary helper functions in `optionstr.c` such as `get_option_flags()`, `get_option_fullname()`, `set_option_flag()`, `is_global_option()`, etc. with a single `get_option()` helper function that allows direct access to the `options` array. Also refactors `f_exists()` to use `get_varp_scope` instead of using `get_option_tv`. This opens up the path for removing `getoptions_T` altogether later down the line since the hidden option logic is no longer needed.
Diffstat (limited to 'test/functional/lua/help_spec.lua')
0 files changed, 0 insertions, 0 deletions