]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): quote partial urls with a backtick
authorYochem van Rosmalen <git@yochem.nl>
Tue, 2 Sep 2025 18:54:14 +0000 (20:54 +0200)
committerChristian Brabandt <cb@256bit.org>
Tue, 2 Sep 2025 18:54:14 +0000 (20:54 +0200)
closes: #18194

Signed-off-by: Yochem van Rosmalen <git@yochem.nl>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/spell.txt
runtime/doc/usr_23.txt

index 741d914a4f7232dacbdbe85d183cfc9d70882457..26357be0a43f05f91a3c26704defe613f10cde4c 100644 (file)
@@ -665,11 +665,11 @@ ask you where to write the file (there must be a writable directory in
 'runtimepath' for this).
 
 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
-another location or another protocol, set the g:spellfile_URL variable to the
-directory that holds the spell files.  You can use http:// or ftp://, but you
-are taking a security risk then.  The |netrw| plugin is used for getting the
-file, look there for the specific syntax of the URL.  Example: >
+server.  The protocol used is TLS (`https://`) for security.  If you want to
+use another location or another protocol, set the g:spellfile_URL variable to
+the directory that holds the spell files.  You can use `http://` or `ftp://`,
+but you are taking a security risk then.  The |netrw| plugin is used for
+getting the file, look there for the specific syntax of the URL.  Example: >
        let g:spellfile_URL = 'https://ftp.nluug.nl/vim/runtime/spell'
 You may need to escape special characters.
 
index 335c073f1f31816f5fcf4f4e11143d976220dde1..35e4876e975e9de2c7f45b2be4b47729573fed34 100644 (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
 
@@ -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
 with these formats are recognized:
 
-       ftp://          uses ftp
-       rcp://          uses rcp
-       scp://          uses scp
-       http://         uses wget (reading only)
+       `ftp://`        uses ftp
+       `rcp://`        uses rcp
+       `scp://`        uses scp
+       `http://`       uses wget (reading only)
 
 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
@@ -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
 with ":edit" and ":split", for example.  Write commands also work, except for
-http://.
+`http://`.
 
 For more information, also about passwords, see |netrw|.