Always shorten 'files' entries to "~"

..no matter if g:startify_relative_path is set or not.
This commit is contained in:
Marco Hinz 2015-11-17 02:53:11 +01:00
parent 3e5809c776
commit 06ff991d7f

View file

@ -14,7 +14,7 @@ let s:numfiles = get(g:, 'startify_files_number', 10)
let s:show_special = get(g:, 'startify_enable_special', 1)
let s:nowait = get(g:, 'startify_mapping_nowait')
let s:delete_buffers = get(g:, 'startify_session_delete_buffers')
let s:relative_path = get(g:, 'startify_relative_path') ? ':.' : ':p:~'
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')))