diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-05-17 20:43:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-17 05:43:35 -0700 |
commit | bbfc4567dfabc8d4378ad26a2d1020e3b2565107 (patch) | |
tree | d39df01d35035f6bb141b490f48d76be423388b2 | |
parent | b239db3cb5618ffbfec28ec6ad79af04e1adb318 (diff) | |
download | rneovim-bbfc4567dfabc8d4378ad26a2d1020e3b2565107.tar.gz rneovim-bbfc4567dfabc8d4378ad26a2d1020e3b2565107.tar.bz2 rneovim-bbfc4567dfabc8d4378ad26a2d1020e3b2565107.zip |
fix(health): correct shada file path #18603
-rw-r--r-- | runtime/autoload/health/nvim.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/autoload/health/nvim.vim b/runtime/autoload/health/nvim.vim index f3732e012f..9b387095ee 100644 --- a/runtime/autoload/health/nvim.vim +++ b/runtime/autoload/health/nvim.vim @@ -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 |