diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-08-20 17:26:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-20 17:26:44 +0800 |
commit | ff5cfcdeab2446459ab59d44ce173ef811902c49 (patch) | |
tree | 2cad932a46390cb0d5821f13aa39f30b5be11770 /src/nvim/optionstr.h | |
parent | 1cc4706e94489498b12c4844c1b3a2e9aa5cc921 (diff) | |
download | rneovim-ff5cfcdeab2446459ab59d44ce173ef811902c49.tar.gz rneovim-ff5cfcdeab2446459ab59d44ce173ef811902c49.tar.bz2 rneovim-ff5cfcdeab2446459ab59d44ce173ef811902c49.zip |
vim-patch:8.1.2045: the option.c file is too big (#19854)
Problem: The option.c file is too big.
Solution: Split off the code dealing with strings. (Yegappan Lakshmanan,
closes vim/vim#4937)
https://github.com/vim/vim/commit/dac1347b4d9c1a1aef6aa73fdea08a9d1077d6ea
Cherry-pick set_string_option_direct_in_win() from patch 8.1.1405.
Cherry-pick shift_line() comment change from patch 8.1.2096.
Move 'clipboard' default parsing to didset_string_options().
Reorder option flags to put Nvim-only flags at the end.
Diffstat (limited to 'src/nvim/optionstr.h')
-rw-r--r-- | src/nvim/optionstr.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/nvim/optionstr.h b/src/nvim/optionstr.h new file mode 100644 index 0000000000..ac8d90e10e --- /dev/null +++ b/src/nvim/optionstr.h @@ -0,0 +1,10 @@ +#ifndef NVIM_OPTIONSTR_H +#define NVIM_OPTIONSTR_H + +#include "nvim/buffer_defs.h" // for buf_T, win_T +#include "nvim/option_defs.h" + +#ifdef INCLUDE_GENERATED_DECLARATIONS +# include "optionstr.h.generated.h" +#endif +#endif // NVIM_OPTIONSTR_H |