1
0
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:
Eric Wong 2024-05-15 12:52:33 +08:00
parent 94c6282ba4
commit 49b944a29d

View File

@ -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