summaryrefslogtreecommitdiff
path: root/src/proto/search.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-11-16 22:20:39 +0100
committerBram Moolenaar <Bram@vim.org>2017-11-16 22:20:39 +0100
commitd0480097177369a6ed91d47aba189ae647afcd68 (patch)
tree843535035064603b175733322adad326163a735c /src/proto/search.pro
parent9c6ce0e62297294b41344e684429a91853bc2268 (diff)
downloadvim-git-d0480097177369a6ed91d47aba189ae647afcd68.tar.gz
patch 8.0.1304: CTRL-G/CTRL-T don't work with incsearch and empty patternv8.0.1304
Problem: CTRL-G/CTRL-T don't work with incsearch and empty pattern. Solution: Use the last search pattern. (Christian Brabandt, closes #2292)
Diffstat (limited to 'src/proto/search.pro')
-rw-r--r--src/proto/search.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/search.pro b/src/proto/search.pro
index 41c200612..4e63bf31a 100644
--- a/src/proto/search.pro
+++ b/src/proto/search.pro
@@ -7,6 +7,7 @@ void save_search_patterns(void);
void restore_search_patterns(void);
void save_last_search_pattern(void);
void restore_last_search_pattern(void);
+char_u *last_search_pattern(void);
void free_search_patterns(void);
int ignorecase(char_u *pat);
int ignorecase_opt(char_u *pat, int ic_in, int scs);