mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 13:30:05 +08:00
revert(history)!: do not change register @/
This commit is contained in:
parent
94c6282ba4
commit
49b944a29d
@ -54,7 +54,6 @@ function! s:read_cache() abort
|
||||
if type(his) ==# type({})
|
||||
call map(deepcopy(his.cmd), 'histadd("cmd", v:val)')
|
||||
call map(deepcopy(his.search), 'histadd("search", v:val)')
|
||||
let @/ = histget('search', -1)
|
||||
let s:filepos = get(his, 'filepos', {})
|
||||
endif
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user