aboutsummaryrefslogtreecommitdiff
path: root/runtime/autoload
diff options
context:
space:
mode:
authorFelipe Morales <hel.sheep@gmail.com>2015-11-23 23:03:29 +0100
committerFelipe Morales <hel.sheep@gmail.com>2015-11-23 23:03:29 +0100
commit80cf03602ea68f47c3e70f5193c5c2380940fe45 (patch)
tree58cda1332b1075af5f9ee3cdd7e48b40317ca143 /runtime/autoload
parent369c1fdb259daf4f305ada8744e0564250480398 (diff)
parentb98cea909f1a38fc8d0f901164e1e44b03620e2a (diff)
downloadrneovim-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 'runtime/autoload')
-rw-r--r--runtime/autoload/shada.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/autoload/shada.vim b/runtime/autoload/shada.vim
index 234f35398b..9be85b6f2e 100644
--- a/runtime/autoload/shada.vim
+++ b/runtime/autoload/shada.vim
@@ -43,7 +43,8 @@ call map(copy(s:SHADA_ENTRY_NAMES),
" Only contains data for entries which are represented as mappings, except for
" the header.
let s:SHADA_MAP_ENTRIES = {
- \'search_pattern': ['sp', 'sh', 'ss', 'sm', 'sc', 'sl', 'se', 'so', 'su'],
+ \'search_pattern': ['sp', 'sh', 'ss', 'sb', 'sm', 'sc', 'sl', 'se', 'so',
+ \ 'su'],
\'register': ['n', 'rc', 'rw', 'rt'],
\'global_mark': ['n', 'f', 'l', 'c'],
\'local_mark': ['f', 'n', 'l', 'c'],
@@ -134,6 +135,7 @@ let s:SHADA_STANDARD_KEYS = {
\'ss': ['is :s pattern', 'boolean', g:msgpack#false],
\'sh': ['v:hlsearch value', 'boolean', g:msgpack#false],
\'sp': ['pattern', 'bin', s:SHADA_REQUIRED],
+ \'sb': ['search backward', 'boolean', g:msgpack#false],
\'rt': ['type', 'regtype', s:SHADA_ENUMS.regtype.CHARACTERWISE],
\'rw': ['block width', 'uint', 0],
\'rc': ['contents', 'binarray', s:SHADA_REQUIRED],