refactor: reorganize option header files (#25437)

- Move vimoption_T to option.h
- option_defs.h is for option-related types
- option_vars.h corresponds to Vim's option.h
- option_defs.h and option_vars.h don't include each other
This commit is contained in:
zeertzjq
2023-09-30 14:41:34 +08:00
committed by GitHub
parent cf8b2c0e74
commit dc6d0d2daf
106 changed files with 1189 additions and 1112 deletions

View File

@@ -189,7 +189,6 @@ local function dump_option(i, o)
end
w([[
#include "nvim/ex_cmds.h"
#include "nvim/ex_getln.h"
#include "nvim/insexpand.h"
#include "nvim/mapping.h"
@@ -198,8 +197,6 @@ w([[
#include "nvim/optionstr.h"
#include "nvim/quickfix.h"
#include "nvim/runtime.h"
#include "nvim/spell.h"
#include "nvim/spellfile.h"
#include "nvim/tag.h"
#include "nvim/window.h"