From 1b128ab685307c3486a5dc9ebbcfdfefdd6e0b42 Mon Sep 17 00:00:00 2001 From: Marco Hinz <mh.codebro@gmail.com> Date: Mon, 29 May 2017 12:58:55 +0200 Subject: [PATCH] Doc: clarify g:startify_relative_path References #284. --- doc/startify.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/startify.txt b/doc/startify.txt index 66e52d2..1ed5a98 100644 --- a/doc/startify.txt +++ b/doc/startify.txt @@ -616,8 +616,11 @@ Don't run Startify at Vim startup. You can still call it anytime via > let g:startify_relative_path = 0 < -Show filenames relative to the current working directory instead of as -absolute paths. This only applies to the "files" list, since the "dir" list is +If the file is in or below the current working directory, use a relative path. +Otherwise an absolute path is used. The latter prevents hard to grasp entries +like `../../../../../foo`. + +NOTE: This only applies to the "files" list, since the "dir" list is relative by nature. -----------------------------------------------------------------------------