diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-10-26 12:50:51 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-26 12:50:51 -0700 |
commit | ad532d3c660791337a9ea5100ab1e330480e382a (patch) | |
tree | 6142d4a147f26451a8679d441930f7691cecfdc3 /src/nvim/search.h | |
parent | 4b5e2f7a0b275230456f92892a89c781616284a8 (diff) | |
parent | 6dcc1d100572b462f75f64f7e98a0b5d80144cba (diff) | |
download | rneovim-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.h | 9 |
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 |