From 814c173b9d5182ca221b7c3c370cb453ce3526ed Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sat, 27 Aug 2022 09:58:25 +0800 Subject: vim-patch:8.2.0660: the search.c file is a bit big (#19963) Problem: The search.c file is a bit big. Solution: Split off the text object code to a separate file. (Yegappan Lakshmanan, closes vim/vim#6007) https://github.com/vim/vim/commit/ed8ce057b7a2fcd89b5f55680ae8f85d62a992a5 --- src/nvim/textobject.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/nvim/textobject.h (limited to 'src/nvim/textobject.h') diff --git a/src/nvim/textobject.h b/src/nvim/textobject.h new file mode 100644 index 0000000000..26f88613fd --- /dev/null +++ b/src/nvim/textobject.h @@ -0,0 +1,11 @@ +#ifndef NVIM_TEXTOBJECT_H +#define NVIM_TEXTOBJECT_H + +#include "nvim/normal.h" // for oparg_T +#include "nvim/pos.h" // for linenr_T +#include "nvim/vim.h" // for Direction + +#ifdef INCLUDE_GENERATED_DECLARATIONS +# include "textobject.h.generated.h" +#endif +#endif // NVIM_TEXTOBJECT_H -- cgit