diff options
author | Felipe Morales <hel.sheep@gmail.com> | 2015-11-23 23:03:29 +0100 |
---|---|---|
committer | Felipe Morales <hel.sheep@gmail.com> | 2015-11-23 23:03:29 +0100 |
commit | 80cf03602ea68f47c3e70f5193c5c2380940fe45 (patch) | |
tree | 58cda1332b1075af5f9ee3cdd7e48b40317ca143 /src/nvim/search.c | |
parent | 369c1fdb259daf4f305ada8744e0564250480398 (diff) | |
parent | b98cea909f1a38fc8d0f901164e1e44b03620e2a (diff) | |
download | rneovim-80cf03602ea68f47c3e70f5193c5c2380940fe45.tar.gz rneovim-80cf03602ea68f47c3e70f5193c5c2380940fe45.tar.bz2 rneovim-80cf03602ea68f47c3e70f5193c5c2380940fe45.zip |
Merge pull request #3581 from ZyX-I/fix-shada
Store last search direction when writing ShaDa files
Diffstat (limited to 'src/nvim/search.c')
-rw-r--r-- | src/nvim/search.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/search.c b/src/nvim/search.c index a44b0e00c7..fbe07b6fed 100644 --- a/src/nvim/search.c +++ b/src/nvim/search.c @@ -4623,6 +4623,7 @@ void set_search_pattern(const SearchPattern pat) { free_spat(&spats[0]); memcpy(&(spats[0]), &pat, sizeof(spats[0])); + set_vv_searchforward(); } /// Set last substitute pattern |