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/fileio.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/nvim/fileio.c') diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c index d29a0f0a08..5dfcbb0668 100644 --- a/src/nvim/fileio.c +++ b/src/nvim/fileio.c @@ -42,6 +42,7 @@ #include "nvim/move.h" #include "nvim/normal.h" #include "nvim/option.h" +#include "nvim/optionstr.h" #include "nvim/os/input.h" #include "nvim/os/os.h" #include "nvim/os/os_defs.h" -- cgit