Skip to content

Commit 1ae09bf

Browse files
zeertzjqyochem
andauthored
vim-patch:4c39d0c: runtime(doc): quote partial urls with a backtick (neovim#35606)
closes: vim/vim#18194 vim/vim@4c39d0c Co-authored-by: Yochem van Rosmalen <[email protected]>
1 parent 431004d commit 1ae09bf

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

runtime/doc/spell.txt

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

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

runtime/doc/usr_23.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,18 +136,18 @@ might want to try the manual way of downloading the file.
136136
Accessing files over the internet works with the netrw plugin. Currently URLs
137137
with these formats are recognized:
138138

139-
ftp:// uses ftp
140-
rcp:// uses rcp
141-
scp:// uses scp
142-
http:// uses wget (reading only)
139+
`ftp://` uses ftp
140+
`rcp://` uses rcp
141+
`scp://` uses scp
142+
`http://` uses wget (reading only)
143143

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

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

152152
For more information, also about passwords, see |netrw|.
153153

0 commit comments

Comments
 (0)