Nvim: use XDG data directory
Closes https://github.com/mhinz/vim-startify/pull/351
This commit is contained in:
parent
0459cd0952
commit
e1be54148e
2 changed files with 4 additions and 2 deletions
|
@ -14,7 +14,8 @@ let s:numfiles = get(g:, 'startify_files_number', 10)
|
|||
let s:show_special = get(g:, 'startify_enable_special', 1)
|
||||
let s:relative_path = get(g:, 'startify_relative_path') ? ':~:.' : ':p:~'
|
||||
let s:session_dir = resolve(expand(get(g:, 'startify_session_dir',
|
||||
\ has('win32') ? '$HOME\vimfiles\session' : '~/.vim/session')))
|
||||
\ has('win32') ? '$HOME\vimfiles\session' :
|
||||
\ has('nvim') ? stdpath('data') . '/session' : '~/.vim/session')))
|
||||
let s:tf = exists('g:startify_transformations')
|
||||
|
||||
let s:skiplist = get(g:, 'startify_skiplist', [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue