aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/textobject.h
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-08-27 09:58:25 +0800
committerGitHub <noreply@github.com>2022-08-27 09:58:25 +0800
commit814c173b9d5182ca221b7c3c370cb453ce3526ed (patch)
treefb13a622a20d40b1a5ccc260ca1cc5e44bbabc6a /src/nvim/textobject.h
parent58b29e344c639e47fd916129d2195883537357b6 (diff)
downloadrneovim-814c173b9d5182ca221b7c3c370cb453ce3526ed.tar.gz
rneovim-814c173b9d5182ca221b7c3c370cb453ce3526ed.tar.bz2
rneovim-814c173b9d5182ca221b7c3c370cb453ce3526ed.zip
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
Diffstat (limited to 'src/nvim/textobject.h')
-rw-r--r--src/nvim/textobject.h11
1 files changed, 11 insertions, 0 deletions
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