From 06ff991d7fea0db521447c0b2780eb480cbbaa9c Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Tue, 17 Nov 2015 02:53:11 +0100 Subject: [PATCH] Always shorten 'files' entries to "~" ..no matter if g:startify_relative_path is set or not. --- autoload/startify.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/startify.vim b/autoload/startify.vim index 84ec790..fec5433 100644 --- a/autoload/startify.vim +++ b/autoload/startify.vim @@ -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')))