Skip to content

Commit

Permalink
docs: fix/remove invalid URLs neovim#20647
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmk authored Oct 14, 2022
1 parent 0a19c16 commit e5cb310
Show file tree
Hide file tree
Showing 39 changed files with 129 additions and 310 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ low-risk/isolated tasks:
- Fix bugs found by [Clang](#clang-scan-build), [PVS](#pvs-studio) or
[Coverity](#coverity).
- [Improve documentation](#documenting)
- [Merge a Vim patch] (familiarity with Vim is *strongly* recommended)
- [Merge a Vim patch] (requires strong familiarity with Vim)

Reporting problems
------------------
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Neovim's license follows:
====
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
https://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

Expand Down
2 changes: 1 addition & 1 deletion runtime/doc/dev_style.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Nvim style guide *dev-style*

This is style guide for developers working on Nvim's source code.

License: CC-By 3.0 http://creativecommons.org/licenses/by/3.0/
License: CC-By 3.0 https://creativecommons.org/licenses/by/3.0/

Type |gO| to see the table of contents.

Expand Down
2 changes: 1 addition & 1 deletion runtime/doc/diff.txt
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ to see more messages.

The self-installing Vim for MS-Windows includes a diff program. If you don't
have it you might want to download a diff.exe. For example from
http://gnuwin32.sourceforge.net/packages/diffutils.htm.
https://gnuwin32.sourceforge.net/packages/diffutils.htm.


USING PATCHES *diff-patchexpr*
Expand Down
10 changes: 5 additions & 5 deletions runtime/doc/ft_ada.txt
Original file line number Diff line number Diff line change
Expand Up @@ -486,25 +486,25 @@ You can optionally install the following extra plug-ins. They work well with
Ada and enhance the ability of the Ada mode:

backup.vim
http://www.vim.org/scripts/script.php?script_id=1537
https://www.vim.org/scripts/script.php?script_id=1537
Keeps as many backups as you like so you don't have to.

rainbow_parenthesis.vim
http://www.vim.org/scripts/script.php?script_id=1561
https://www.vim.org/scripts/script.php?script_id=1561
Very helpful since Ada uses only '(' and ')'.

nerd_comments.vim
http://www.vim.org/scripts/script.php?script_id=1218
https://www.vim.org/scripts/script.php?script_id=1218
Excellent commenting and uncommenting support for almost any
programming language.

matchit.vim
http://www.vim.org/scripts/script.php?script_id=39
https://www.vim.org/scripts/script.php?script_id=39
'%' jumping for any language. The normal '%' jump only works for '{}'
style languages. The Ada mode will set the needed search patterns.

taglist.vim
http://www.vim.org/scripts/script.php?script_id=273
https://www.vim.org/scripts/script.php?script_id=273
Source code explorer sidebar. There is a patch for Ada available.

The GNU Ada Project distribution (http://gnuada.sourceforge.net) of Vim
Expand Down
8 changes: 4 additions & 4 deletions runtime/doc/ft_sql.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ navigation.

1.1 Matchit *sql-matchit*
-----------
The matchit plugin (http://www.vim.org/scripts/script.php?script_id=39)
The matchit plugin (https://www.vim.org/scripts/script.php?script_id=39)
provides many additional features and can be customized for different
languages. The matchit plugin is configured by defining a local
buffer variable, b:match_words. Pressing the % key while on various
Expand Down Expand Up @@ -296,7 +296,7 @@ exist.
3. Adding new SQL Dialects *sql-adding-dialects*

If you begin working with a SQL dialect which does not have any customizations
available with the default Vim distribution you can check http://www.vim.org
available with the default Vim distribution you can check https://www.vim.org
to see if any customization currently exist. If not, you can begin by cloning
an existing script. Read |filetype-plugins| for more details.

Expand Down Expand Up @@ -403,7 +403,7 @@ Here are some examples of the entries which are pulled from the syntax files: >
----------------
Dynamic mode populates the popups with data directly from a database. In
order for the dynamic feature to be enabled you must have the dbext.vim
plugin installed, (http://vim.sourceforge.net/script.php?script_id=356).
plugin installed, (https://vim.sourceforge.net/script.php?script_id=356).

Dynamic mode is used by several features of the SQL completion plugin.
After installing the dbext plugin see the dbext-tutorial for additional
Expand Down Expand Up @@ -487,7 +487,7 @@ depending on the syntax file you are using. The SQL Anywhere syntax file
Dynamic features
----------------
To take advantage of the dynamic features you must first install the
dbext.vim plugin (http://vim.sourceforge.net/script.php?script_id=356). It
dbext.vim plugin (https://vim.sourceforge.net/script.php?script_id=356). It
also comes with a tutorial. From the SQL completion plugin's perspective,
the main feature dbext provides is a connection to a database. dbext
connection profiles are the most efficient mechanism to define connection
Expand Down
2 changes: 1 addition & 1 deletion runtime/doc/helphelp.txt
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ At this moment translations are available for:
Japanese - multiple authors
Polish - translated by Mikolaj Machowski
Russian - translated by Vassily Ragosin
See the Vim website to find them: http://www.vim.org/translations.php
See the Vim website to find them: https://www.vim.org/translations.php

A set of translated help files consists of these files:

Expand Down
2 changes: 1 addition & 1 deletion runtime/doc/if_ruby.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The Ruby Interface to Vim *if_ruby* *ruby* *Ruby*

*E266* *E267* *E268* *E269* *E270* *E271* *E272* *E273*

The home page for ruby is http://www.ruby-lang.org/. You can find links for
The home page for ruby is https://www.ruby-lang.org/. You can find links for
downloading Ruby there.

Type |gO| to see the table of contents.
Expand Down
2 changes: 1 addition & 1 deletion runtime/doc/indent.txt
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ Fortran with (possibly multiple) loops ending on a labelled executable
statement of almost arbitrary type. Correct indentation requires
compiler-quality parsing. Old code with do loops ending on labelled statements
of arbitrary type can be indented with elaborate programs such as Tidy
(http://www.unb.ca/chem/ajit/f_tidy.htm). Structured do/continue loops are
(https://www.unb.ca/chem/ajit/f_tidy.htm). Structured do/continue loops are
also left unindented because continue statements are also used for purposes
other than ending a do loop. Programs such as Tidy can convert structured
do/continue loops to the do/enddo form. Do loops of the do/enddo variety can
Expand Down
17 changes: 4 additions & 13 deletions runtime/doc/insert.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1350,16 +1350,8 @@ Completion of C code requires a tags file. You should use Universal/
Exuberant ctags, because it adds extra information that is needed for
completion. You can find it here:
Universal Ctags: https://ctags.io
Exuberant Ctags: http://ctags.sourceforge.net

Universal Ctags is preferred, Exuberant Ctags is no longer being developed.

For Exuberant ctags, version 5.6 or later is recommended. For version 5.5.4
you should add a patch that adds the "typename:" field:
ftp://ftp.vim.org/pub/vim/unstable/patches/ctags-5.5.4.patch
A compiled .exe for MS-Windows can be found at:
http://ctags.sourceforge.net/
https://github.com/universal-ctags/ctags-win32
Universal Ctags is preferred, Exuberant Ctags is no longer maintained.

If you want to complete system functions you can do something like this. Use
ctags to generate a tags file for all the system header files: >
Expand Down Expand Up @@ -1459,7 +1451,7 @@ DOM compatibility
At the moment (beginning of 2006) there are two main browsers - MS Internet
Explorer and Mozilla Firefox. These two applications are covering over 90% of
market. Theoretically standards are created by W3C organisation
(http://www.w3c.org) but they are not always followed/implemented.
(https://www.w3.org/) but they are not always followed/implemented.

IE FF W3C Omni completion ~
+/- +/- + + ~
Expand All @@ -1480,7 +1472,6 @@ external files and for class aware completion. You should use Universal/
Exuberant ctags version 5.5.4 or newer. You can find it here:

Universal Ctags: https://ctags.io
Exuberant Ctags: http://ctags.sourceforge.net

Script completes:

Expand Down Expand Up @@ -1779,12 +1770,12 @@ DTD -> Vim *dtd2vim*
On |www| is the script |dtd2vim| which parses DTD and creates an XML data file
for Vim XML omni completion.

dtd2vim: http://www.vim.org/scripts/script.php?script_id=1462
dtd2vim: https://www.vim.org/scripts/script.php?script_id=1462

Check the beginning of that file for usage details.
The script requires perl and:

perlSGML: http://savannah.nongnu.org/projects/perlsgml
perlSGML: https://savannah.nongnu.org/projects/perlsgml


Commands
Expand Down
29 changes: 13 additions & 16 deletions runtime/doc/lsp.txt
Original file line number Diff line number Diff line change
Expand Up @@ -792,22 +792,19 @@ start({config}, {opts}) *vim.lsp.start()*
See |vim.lsp.start_client()| for all available options. The most important
are:

`name` is an arbitrary name for the LSP client. It should be unique per
language server.

`cmd` the command as list - used to start the language server. The command must
be present in the `$PATH` environment variable or an absolute path to the executable. Shell
constructs like `~` are NOT expanded.

`root_dir` path to the project root. By default this is used to decide if
an existing client should be re-used. The example above uses
|vim.fs.find()| and |vim.fs.dirname()| to detect the root by traversing
the file system upwards starting from the current directory until either a
`pyproject.toml` or `setup.py` file is found.

`workspace_folders` a list of { uri:string, name: string } tables. The
project root folders used by the language server. If `nil` the property is
derived from the `root_dir` for convenience.
`name` arbitrary name for the LSP client. Should be unique per language
server.
`cmd` command (in list form) used to start the language server. Must be
absolute, or found on `$PATH`. Shell constructs like `~` are not
expanded.
`root_dir` path to the project root. By default this is used to decide
if an existing client should be re-used. The example above uses
|vim.fs.find()| and |vim.fs.dirname()| to detect the root by traversing
the file system upwards starting from the current directory until either
a `pyproject.toml` or `setup.py` file is found.
`workspace_folders` list of `{ uri:string, name: string }` tables
specifying the project root folders used by the language server. If
`nil` the property is derived from `root_dir` for convenience.

Language servers use this information to discover metadata like the
dependencies of your project and they tend to index the contents within
Expand Down
6 changes: 3 additions & 3 deletions runtime/doc/luaref.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4831,7 +4831,7 @@ A BIBLIOGRAPHY *luaref-bibliography*
This help file is a minor adaptation from this main reference:

- R. Ierusalimschy, L. H. de Figueiredo, and W. Celes.,
"Lua: 5.1 reference manual", http://www.lua.org/manual/5.1/manual.html
"Lua: 5.1 reference manual", https://www.lua.org/manual/5.1/manual.html

Lua is discussed in these references:

Expand Down Expand Up @@ -4887,10 +4887,10 @@ a few exceptions and adaptations -- a copy of the Lua 5.1 Reference Manual

The main ideas and concepts on how to implement this reference were taken from
Christian Habermann's CRefVim project
(http://www.vim.org/scripts/script.php?script_id=614).
(https://www.vim.org/scripts/script.php?script_id=614).

Adapted for bundled Nvim documentation; the original plugin can be found at
http://www.vim.org/scripts/script.php?script_id=1291
https://www.vim.org/scripts/script.php?script_id=1291

------------------------------------------------------------------------------
vi:tw=78:ts=4:ft=help:norl:et
4 changes: 2 additions & 2 deletions runtime/doc/luvref.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ used here to facilitate documenting consistent behavior:
CONTENTS *luv-contents*

This documentation is mostly a retelling of the libuv API documentation
(http://docs.libuv.org/en/v1.x/api.html) within the context of luv's Lua API.
(https://docs.libuv.org/en/v1.x/api.html) within the context of luv's Lua API.
Low-level implementation details and unexposed C functions and types are not
documented here except for when they are relevant to behavior seen in the Lua
module.
Expand Down Expand Up @@ -933,7 +933,7 @@ uv.async_send({async}, {...}) *uv.async_send()*

Poll handles are used to watch file descriptors for readability and
writability, similar to the purpose of poll(2)
(http://linux.die.net/man/2/poll).
(https://linux.die.net/man/2/poll).

The purpose of poll handles is to enable integrating external libraries that
rely on the event loop to signal it about the socket status changes, like
Expand Down
40 changes: 1 addition & 39 deletions runtime/doc/mbyte.txt
Original file line number Diff line number Diff line change
Expand Up @@ -341,34 +341,7 @@ Useful utilities for converting the charset:
All: iconv
GNU iconv can convert most encodings. Unicode is used as the
intermediate encoding, which allows conversion from and to all other
encodings. See http://www.gnu.org/directory/libiconv.html.

Japanese: nkf
Nkf is "Network Kanji code conversion Filter". One of the most unique
facility of nkf is the guess of the input Kanji code. So, you don't
need to know what the inputting file's |charset| is. When convert to
EUC-JP from ISO-2022-JP or Shift_JIS, simply do the following command
in Vim:
:%!nkf -e
Nkf can be found at:
http://www.sfc.wide.ad.jp/~max/FreeBSD/ports/distfiles/nkf-1.62.tar.gz

Chinese: hc
Hc is "Hanzi Converter". Hc convert a GB file to a Big5 file, or Big5
file to GB file. Hc can be found at:
ftp://ftp.cuhk.hk/pub/chinese/ifcss/software/unix/convert/hc-30.tar.gz

Korean: hmconv
Hmconv is Korean code conversion utility especially for E-mail. It can
convert between EUC-KR and ISO-2022-KR. Hmconv can be found at:
ftp://ftp.kaist.ac.kr/pub/hangul/code/hmconv/

Multilingual: lv
Lv is a Powerful Multilingual File Viewer. And it can be worked as
|charset| converter. Supported |charset|: ISO-2022-CN, ISO-2022-JP,
ISO-2022-KR, EUC-CN, EUC-JP, EUC-KR, EUC-TW, UTF-7, UTF-8, ISO-8859
series, Shift_JIS, Big5 and HZ. Lv can be found at:
http://www.ff.iij4u.or.jp/~nrt/lv/index.html
encodings. See https://directory.fsf.org/wiki/Libiconv.


*mbyte-conversion*
Expand Down Expand Up @@ -404,17 +377,6 @@ is suitable for complex input, such as CJK.
large overhead in communication, but it provides safe synchronization with
no restrictions on applications.

For example, there are xwnmo and kinput2 Japanese |IM-server|, both are
FrontEnd system. Xwnmo is distributed with Wnn (see below), kinput2 can be
found at: ftp://ftp.sra.co.jp/pub/x11/kinput2/

For Chinese, there's a great XIM server named "xcin", you can input both
Traditional and Simplified Chinese characters. And it can accept other
locale if you make a correct input table. Xcin can be found at:
http://cle.linux.org.tw/xcin/
Others are scim: http://scim.freedesktop.org/ and fcitx:
http://www.fcitx.org/

- Conversion Server
*conversion-server*
Some system needs additional server: conversion server. Most of Japanese
Expand Down
4 changes: 1 addition & 3 deletions runtime/doc/message.txt
Original file line number Diff line number Diff line change
Expand Up @@ -573,9 +573,7 @@ when using ":w"), therefore Vim requires using a ! after the command, e.g.:
VirtualBinding
Messages like this appear when starting up. This is not a Vim problem, your
X11 configuration is wrong. You can find a hint on how to solve this here:
http://groups.yahoo.com/group/solarisonintel/message/12179.
[this URL is no longer valid]
X11 configuration is wrong.

*W10* >
Warning: Changing a readonly file
Expand Down
23 changes: 3 additions & 20 deletions runtime/doc/mlang.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,27 +92,10 @@ use of "-" and "_".
:lang mes en
<

MS-WINDOWS MESSAGE TRANSLATIONS *win32-gettext*

If you used the self-installing .exe file, message translations should work
already. Otherwise get the libintl.dll file if you don't have it yet:

http://sourceforge.net/projects/gettext
Or:
https://mlocati.github.io/gettext-iconv-windows/

This also contains tools xgettext, msgformat and others.

libintl.dll should be placed in same directory as (g)vim.exe, or one of the
directories listed in the PATH environment value. Vim also looks for the
alternate names "libintl-8.dll" and "intl.dll".

Message files (vim.mo) have to be placed in "$VIMRUNTIME/lang/xx/LC_MESSAGES",
where "xx" is the abbreviation of the language (mostly two letters).

If you write your own translations you need to generate the .po file and
convert it to a .mo file. You need to get the source distribution and read
the file "src/po/README.txt".
where "xx" is the abbreviation of the language (mostly two letters). If you
write your own translations you need to generate the .po file and convert it
to a .mo file.

To overrule the automatic choice of the language, set the $LANG variable to
the language of your choice. use "en" to disable translations. >
Expand Down
4 changes: 2 additions & 2 deletions runtime/doc/options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ A jump table for the options with a short description can be found at |Q_op|.
by Vim with the width of glyphs in the font. Perhaps it also has
to be set to "double" under CJK MS-Windows when the system locale is
set to one of CJK locales. See Unicode Standard Annex #11
(http://www.unicode.org/reports/tr11).
(https://www.unicode.org/reports/tr11).

*'autochdir'* *'acd'* *'noautochdir'* *'noacd'*
'autochdir' 'acd' boolean (default off)
Expand Down Expand Up @@ -4536,7 +4536,7 @@ A jump table for the options with a short description can be found at |Q_op|.
< - A directory name may end in a ':' or '/'.
- Environment variables are expanded |:set_env|.
- When using |netrw.vim| URLs can be used. For example, adding
"http://www.vim.org" will make ":find index.html" work.
"https://www.vim.org" will make ":find index.html" work.
- Search upwards and downwards in a directory tree using "*", "**" and
";". See |file-searching| for info and syntax.
- Careful with '\' characters, type two to get one in the option: >
Expand Down
Loading

0 comments on commit e5cb310

Please sign in to comment.