aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorRafael Kitover <rkitover@gmail.com>2024-05-25 12:44:39 +0000
committerGitHub <noreply@github.com>2024-05-25 20:44:39 +0800
commitfdeb01cd77404aba446c67af32134a2ff793a14b (patch)
treefc45738c89069262a59feaa068de16d02d3206a6 /runtime/doc
parentbdb81afab3e5c43a33267666c2689feb284f6b52 (diff)
downloadrneovim-fdeb01cd77404aba446c67af32134a2ff793a14b.tar.gz
rneovim-fdeb01cd77404aba446c67af32134a2ff793a14b.tar.bz2
rneovim-fdeb01cd77404aba446c67af32134a2ff793a14b.zip
feat(main): expand file ~\ or ~/ prefix on Windows (#28515)
In command_line_scan() for MSWIN, expand "~\" or "~/" prefixed paths to the USERPROFILE environment variable for the user's profile directory. Fix #23901 Signed-off-by: Rafael Kitover <rkitover@gmail.com>
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/news.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt
index 708e127136..2d4017e3c4 100644
--- a/runtime/doc/news.txt
+++ b/runtime/doc/news.txt
@@ -87,7 +87,9 @@ DEFAULTS
EDITOR
-• TODO
+* On Windows, filename arguments on the command-line prefixed with "~\" or
+ "~/" are now expanded to the user's profile directory, not a relative path
+ to a literal "~" directory.
EVENTS