summaryrefslogtreecommitdiffstats
path: root/runtime/doc/cmdline.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-02-04 22:23:09 +0100
committerBram Moolenaar <Bram@vim.org>2020-02-04 22:23:09 +0100
commitd816cd94d87afb73c505bf1e5cd5e07522482113 (patch)
tree89336db136fc53d20952d0924fa1a33b9e26cf2f /runtime/doc/cmdline.txt
parentbfe12043128d75585749f82aebbf4cdd1a7dfe31 (diff)
patch 8.2.0208: fnamemodify() does not apply ":~" when followed by ":."v8.2.0208
Problem: Fnamemodify() does not apply ":~" when followed by ":.". Solution: Don't let a failing ":." cause the ":~" to be skipped. (Yasuhiro Matsumoto, closes #5577)
Diffstat (limited to 'runtime/doc/cmdline.txt')
-rw-r--r--runtime/doc/cmdline.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt
index c4638b624b..5289756751 100644
--- a/runtime/doc/cmdline.txt
+++ b/runtime/doc/cmdline.txt
@@ -933,8 +933,7 @@ These modifiers can be given, in this order:
directory.
:. Reduce file name to be relative to current directory, if
possible. File name is unmodified if it is not below the
- current directory, but on MS-Windows the drive is removed if
- it is the current drive.
+ current directory.
For maximum shortness, use ":~:.".
:h Head of the file name (the last component and any separators
removed). Cannot be used with :e, :r or :t.