mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
fix(health): correct shada file path #18603
This commit is contained in:
parent
b239db3cb5
commit
bbfc4567df
@ -45,7 +45,7 @@ function! s:check_config() abort
|
||||
let shadafile = empty(&shada) ? &shada : substitute(matchstr(
|
||||
\ split(&shada, ',')[-1], '^n.\+'), '^n', '', '')
|
||||
let shadafile = empty(&shadafile) ? empty(shadafile) ?
|
||||
\ stdpath('data').'/shada/main.shada' : expand(shadafile)
|
||||
\ stdpath('state').'/shada/main.shada' : expand(shadafile)
|
||||
\ : &shadafile ==# 'NONE' ? '' : &shadafile
|
||||
if !empty(shadafile) && empty(glob(shadafile))
|
||||
" Since this may be the first time neovim has been run, we will try to
|
||||
|
Loading…
Reference in New Issue
Block a user