mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 05:05:00 -07:00
3c2c022e5e
Problem: We have `P_(BOOL|NUM|STRING)` macros to represent an option's type, which is redundant because `OptValType` can already do that. The current implementation of option type flags is also too limited to allow adding multitype options in the future. Solution: Remove `P_(BOOL|NUM|STRING)` and replace it with a new `type_flags` attribute in `vimoption_T`. Also do some groundwork for adding multitype options in the future. Side-effects: Attempting to set an invalid keycode option (e.g. `set t_foo=123`) no longer gives an error. |
||
---|---|---|
.. | ||
autocmd_spec.lua | ||
buffer_spec.lua | ||
buffer_updates_spec.lua | ||
command_spec.lua | ||
extmark_spec.lua | ||
highlight_spec.lua | ||
keymap_spec.lua | ||
menu_spec.lua | ||
proc_spec.lua | ||
rpc_fixture.lua | ||
server_notifications_spec.lua | ||
server_requests_spec.lua | ||
tabpage_spec.lua | ||
ui_spec.lua | ||
version_spec.lua | ||
vim_spec.lua | ||
window_spec.lua |