From ff5cfcdeab2446459ab59d44ce173ef811902c49 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sat, 20 Aug 2022 17:26:44 +0800 Subject: 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. --- src/nvim/buffer.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/nvim/buffer.c') diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c index 88b7cfc8ee..1ff0140162 100644 --- a/src/nvim/buffer.c +++ b/src/nvim/buffer.c @@ -66,6 +66,7 @@ #include "nvim/message.h" #include "nvim/move.h" #include "nvim/option.h" +#include "nvim/optionstr.h" #include "nvim/os/input.h" #include "nvim/os/os.h" #include "nvim/os/time.h" -- cgit