diff options
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/autoload/shada.vim | 4 | ||||
-rw-r--r-- | runtime/doc/starting.txt | 2 | ||||
-rw-r--r-- | runtime/doc/vim_diff.txt | 1 |
3 files changed, 6 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], diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt index 572823eca9..f729fbefcc 100644 --- a/runtime/doc/starting.txt +++ b/runtime/doc/starting.txt @@ -1232,6 +1232,8 @@ exactly four MessagePack objects: With |shada-h| or 'nohlsearch' this key is always false. sp Binary N/A Actual pattern. Required. + sb Boolean false True if search direction is + backward. * any none Other keys are allowed for compatibility reasons, see |shada-compatibility|. diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt index 6cbc2aef59..a6cbf6f4c4 100644 --- a/runtime/doc/vim_diff.txt +++ b/runtime/doc/vim_diff.txt @@ -117,6 +117,7 @@ Additional differences: |shada-error-handling| - Vim keeps no timestamps at all, neither in viminfo file nor in the instance itself. +- ShaDa file keeps search direction (|v:searchforward|), viminfo does not. ============================================================================== 4. New Features *nvim-features-new* |