diff options
author | Famiu Haque <famiuhaque@proton.me> | 2024-10-28 19:49:16 +0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-28 06:49:16 -0700 |
commit | 34c44c355646311aa67fe53e1e5ce040789430c6 (patch) | |
tree | 6de3c32213b1313d41035c17b024fcade9afc6ef /runtime/lua/vim/ui | |
parent | 0b7cc014fc0ed8d0765e8504ff4a8ff7a84dac42 (diff) | |
download | rneovim-34c44c355646311aa67fe53e1e5ce040789430c6.tar.gz rneovim-34c44c355646311aa67fe53e1e5ce040789430c6.tar.bz2 rneovim-34c44c355646311aa67fe53e1e5ce040789430c6.zip |
refactor(options): option flags enum #30961
Problem: Currently we use macros with hardcoded flag values for option flags, which is messy and requires a lot of mental math for adding / removing option flags. Using macros for option flags also means that they cannot be used inside debuggers.
Solution: Create a new `OptFlags` enum that stores all the option flags in an organized way that is easier to understand.
Diffstat (limited to 'runtime/lua/vim/ui')
0 files changed, 0 insertions, 0 deletions