neovim/test/functional/api
Famiu Haque 3c2c022e5e
refactor(options): remove option type macros
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.
2023-12-14 16:46:42 +06:00
..
autocmd_spec.lua docs: small fixes (#25585) 2023-10-29 16:02:32 +08:00
buffer_spec.lua Merge pull request #26486 from glepnir/fix_linebyte 2023-12-12 11:57:56 +01:00
buffer_updates_spec.lua test: use termopen() instead of :terminal more (#26462) 2023-12-08 08:00:27 +08:00
command_spec.lua fix(api): allow empty Lua table for nested dicts #22268 2023-02-16 07:07:18 -08:00
extmark_spec.lua test: avoid repeated screen lines in expected states 2023-12-09 22:15:02 +08:00
highlight_spec.lua feat(highlight): update default color scheme 2023-12-02 18:53:19 +02:00
keymap_spec.lua refactor: move some constants out of vim_defs.h (#26298) 2023-11-29 20:32:40 +08:00
menu_spec.lua tests/ui: remove unnecessary screen:detach() 2019-10-13 22:10:42 +02:00
proc_spec.lua refactor(api): consistent VALIDATE messages #22262 2023-02-14 11:19:28 -08:00
rpc_fixture.lua fix(tests): fixes for using vim.mpack and more ASAN 2023-02-10 20:19:04 +01:00
server_notifications_spec.lua test: unignore test which froze sourcehut (#25067) 2023-09-11 05:53:05 +08:00
server_requests_spec.lua refactor: move some constants out of vim_defs.h (#26298) 2023-11-29 20:32:40 +08:00
tabpage_spec.lua API: include invalid buffer/window/tabpage in error message (#11712) 2020-01-14 09:21:10 +01:00
ui_spec.lua docs: deprecate the "term_background" UI field 2023-11-13 19:04:47 -06:00
version_spec.lua feat: report "build" in vim.version() #23925 2023-06-11 14:57:23 -07:00
vim_spec.lua refactor(options): remove option type macros 2023-12-14 16:46:42 +06:00
window_spec.lua test: avoid repeated screen lines in expected states 2023-12-09 22:15:02 +08:00