aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/search.h
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-10-26 12:50:51 -0700
committerGitHub <noreply@github.com>2019-10-26 12:50:51 -0700
commitad532d3c660791337a9ea5100ab1e330480e382a (patch)
tree6142d4a147f26451a8679d441930f7691cecfdc3 /src/nvim/search.h
parent4b5e2f7a0b275230456f92892a89c781616284a8 (diff)
parent6dcc1d100572b462f75f64f7e98a0b5d80144cba (diff)
downloadrneovim-ad532d3c660791337a9ea5100ab1e330480e382a.tar.gz
rneovim-ad532d3c660791337a9ea5100ab1e330480e382a.tar.bz2
rneovim-ad532d3c660791337a9ea5100ab1e330480e382a.zip
Merge #11294 from tomtomjhj/vim-8.1.2173
vim-patch:8.1.{2173,2207,2218}
Diffstat (limited to 'src/nvim/search.h')
-rw-r--r--src/nvim/search.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/nvim/search.h b/src/nvim/search.h
index cb094aab8c..0366aee8a1 100644
--- a/src/nvim/search.h
+++ b/src/nvim/search.h
@@ -70,6 +70,15 @@ typedef struct spat {
dict_T *additional_data; ///< Additional data from ShaDa file.
} SearchPattern;
+/// Optional extra arguments for searchit().
+typedef struct {
+ linenr_T sa_stop_lnum; ///< stop after this line number when != 0
+ proftime_T *sa_tm; ///< timeout limit or NULL
+ int sa_timed_out; ///< set when timed out
+ int sa_wrapped; ///< search wrapped around
+} searchit_arg_T;
+
+
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "search.h.generated.h"
#endif