Skip to content

Commit 4c39d0c

Browse files
yochemchrisbra
authored andcommitted
runtime(doc): quote partial urls with a backtick
closes: #18194 Signed-off-by: Yochem van Rosmalen <git@yochem.nl> Signed-off-by: Christian Brabandt <cb@256bit.org>
1 parent 1acbcbc commit 4c39d0c

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

runtime/doc/spell.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -665,11 +665,11 @@ ask you where to write the file (there must be a writable directory in
665665
'runtimepath' for this).
666666

667667
The plugin has a default place where to look for spell files, on the Vim ftp
668-
server. The protocol used is SSL (https://) for security. If you want to use
669-
another location or another protocol, set the g:spellfile_URL variable to the
670-
directory that holds the spell files. You can use http:// or ftp://, but you
671-
are taking a security risk then. The |netrw| plugin is used for getting the
672-
file, look there for the specific syntax of the URL. Example: >
668+
server. The protocol used is TLS (`https://`) for security. If you want to
669+
use another location or another protocol, set the g:spellfile_URL variable to
670+
the directory that holds the spell files. You can use `http://` or `ftp://`,
671+
but you are taking a security risk then. The |netrw| plugin is used for
672+
getting the file, look there for the specific syntax of the URL. Example: >
673673
let g:spellfile_URL = 'https://ftp.nluug.nl/vim/runtime/spell'
674674
You may need to escape special characters.
675675

runtime/doc/usr_23.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*usr_23.txt* For Vim version 9.1. Last change: 2025 Jul 22
1+
*usr_23.txt* For Vim version 9.1. Last change: 2025 Sep 02
22

33
VIM USER MANUAL - by Bram Moolenaar
44

@@ -138,18 +138,18 @@ might want to try the manual way of downloading the file.
138138
Accessing files over the internet works with the netrw plugin. Currently URLs
139139
with these formats are recognized:
140140

141-
ftp:// uses ftp
142-
rcp:// uses rcp
143-
scp:// uses scp
144-
http:// uses wget (reading only)
141+
`ftp://` uses ftp
142+
`rcp://` uses rcp
143+
`scp://` uses scp
144+
`http://` uses wget (reading only)
145145

146146
Vim doesn't do the communication itself, it relies on the mentioned programs
147147
to be available on your computer. On most Unix systems "ftp" and "rcp" will
148148
be present. "scp" and "wget" might need to be installed.
149149

150150
Vim detects these URLs for each command that starts editing a new file, also
151151
with ":edit" and ":split", for example. Write commands also work, except for
152-
http://.
152+
`http://`.
153153

154154
For more information, also about passwords, see |netrw|.
155155

0 commit comments

Comments
 (0)