mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 00: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({})
|
if type(his) ==# type({})
|
||||||
call map(deepcopy(his.cmd), 'histadd("cmd", v:val)')
|
call map(deepcopy(his.cmd), 'histadd("cmd", v:val)')
|
||||||
call map(deepcopy(his.search), 'histadd("search", v:val)')
|
call map(deepcopy(his.search), 'histadd("search", v:val)')
|
||||||
let @/ = histget('search', -1)
|
|
||||||
let s:filepos = get(his, 'filepos', {})
|
let s:filepos = get(his, 'filepos', {})
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user