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>
This commit is contained in:
Yochem van Rosmalen
2025-09-02 20:54:14 +02:00
committed by Christian Brabandt
parent 1acbcbc5f0
commit 4c39d0cc9b
2 changed files with 11 additions and 11 deletions

View File

@ -665,11 +665,11 @@ ask you where to write the file (there must be a writable directory in
'runtimepath' for this). 'runtimepath' for this).
The plugin has a default place where to look for spell files, on the Vim ftp The plugin has a default place where to look for spell files, on the Vim ftp
server. The protocol used is SSL (https://) for security. If you want to use server. The protocol used is TLS (`https://`) for security. If you want to
another location or another protocol, set the g:spellfile_URL variable to the use another location or another protocol, set the g:spellfile_URL variable to
directory that holds the spell files. You can use http:// or ftp://, but you the directory that holds the spell files. You can use `http://` or `ftp://`,
are taking a security risk then. The |netrw| plugin is used for getting the but you are taking a security risk then. The |netrw| plugin is used for
file, look there for the specific syntax of the URL. Example: > getting the file, look there for the specific syntax of the URL. Example: >
let g:spellfile_URL = 'https://ftp.nluug.nl/vim/runtime/spell' let g:spellfile_URL = 'https://ftp.nluug.nl/vim/runtime/spell'
You may need to escape special characters. You may need to escape special characters.

View File

@ -1,4 +1,4 @@
*usr_23.txt* For Vim version 9.1. Last change: 2025 Jul 22 *usr_23.txt* For Vim version 9.1. Last change: 2025 Sep 02
VIM USER MANUAL - by Bram Moolenaar VIM USER MANUAL - by Bram Moolenaar
@ -138,10 +138,10 @@ might want to try the manual way of downloading the file.
Accessing files over the internet works with the netrw plugin. Currently URLs Accessing files over the internet works with the netrw plugin. Currently URLs
with these formats are recognized: with these formats are recognized:
ftp:// uses ftp `ftp://` uses ftp
rcp:// uses rcp `rcp://` uses rcp
scp:// uses scp `scp://` uses scp
http:// uses wget (reading only) `http://` uses wget (reading only)
Vim doesn't do the communication itself, it relies on the mentioned programs Vim doesn't do the communication itself, it relies on the mentioned programs
to be available on your computer. On most Unix systems "ftp" and "rcp" will to be available on your computer. On most Unix systems "ftp" and "rcp" will
@ -149,7 +149,7 @@ be present. "scp" and "wget" might need to be installed.
Vim detects these URLs for each command that starts editing a new file, also Vim detects these URLs for each command that starts editing a new file, also
with ":edit" and ":split", for example. Write commands also work, except for with ":edit" and ":split", for example. Write commands also work, except for
http://. `http://`.
For more information, also about passwords, see |netrw|. For more information, also about passwords, see |netrw|.