diff options
author | Famiu Haque <famiuhaque@proton.me> | 2024-11-25 15:07:56 +0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-25 17:07:56 +0800 |
commit | beec377e905baca73e772080c4f276c800ad2a40 (patch) | |
tree | 478d0eafce4ac8a7153fa66f39bfc70ba5d2adbc /scripts/gen_eval_files.lua | |
parent | 9e7b0bcf51924716461f838a33a9508b718934b5 (diff) | |
download | rneovim-beec377e905baca73e772080c4f276c800ad2a40.tar.gz rneovim-beec377e905baca73e772080c4f276c800ad2a40.tar.bz2 rneovim-beec377e905baca73e772080c4f276c800ad2a40.zip |
refactor(options): fix confusing naming of `scope` and `req_scope` (#31317)
Problem: The name `scope` is often used to refer to option flags because
`OPT_LOCAL` and `OPT_GLOBAL` are often used to determine the option
scope. This leads to the name `req_scope` being used for actual option
scopes instead.
Solution: Since the end-goal is to remove `OPT_LOCAL` and `OPT_GLOBAL`
entirely and replace them with `OptScope`, rename `OptScope` variables
to `scope` and the old scope flag variables to `opt_flags`.
Diffstat (limited to 'scripts/gen_eval_files.lua')
0 files changed, 0 insertions, 0 deletions