aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-27 20:10:37 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-27 20:25:21 -0400
commita299f54cd7e949e93a9ddc07ec13999e6da489af (patch)
tree2ea3429b52d954afb247605ec9e7bb73129b30f2
parent95f02cb587f9859fa558b59617b87a9808ec2cb9 (diff)
downloadrneovim-a299f54cd7e949e93a9ddc07ec13999e6da489af.tar.gz
rneovim-a299f54cd7e949e93a9ddc07ec13999e6da489af.tar.bz2
rneovim-a299f54cd7e949e93a9ddc07ec13999e6da489af.zip
vim-patch:eab6dff19f38
Update runtime files https://github.com/vim/vim/commit/eab6dff19f387469a200011bc6cf3508f5e43a4a Omit de.po translations.
-rw-r--r--runtime/doc/cmdline.txt4
-rw-r--r--runtime/doc/helphelp.txt11
-rw-r--r--runtime/doc/syntax.txt6
-rw-r--r--runtime/doc/usr_03.txt3
-rw-r--r--runtime/pack/dist/opt/matchit/autoload/matchit.vim4
-rw-r--r--runtime/pack/dist/opt/matchit/doc/matchit.txt2
-rw-r--r--runtime/pack/dist/opt/matchit/plugin/matchit.vim2
7 files changed, 25 insertions, 7 deletions
diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt
index f7c9a2afbe..110a4a1b46 100644
--- a/runtime/doc/cmdline.txt
+++ b/runtime/doc/cmdline.txt
@@ -443,6 +443,10 @@ emulate it. For example, this mimics autolist=ambiguous:
This will find the longest match with the first 'wildchar', then list all
matching files with the next.
+ *complete-script-local-functions*
+When completing user function names, prepend "s:" to find script-local
+functions.
+
*suffixes*
For file name completion you can use the 'suffixes' option to set a priority
between files with almost the same name. If there are multiple matches,
diff --git a/runtime/doc/helphelp.txt b/runtime/doc/helphelp.txt
index 182fc1cef5..c9bee17d70 100644
--- a/runtime/doc/helphelp.txt
+++ b/runtime/doc/helphelp.txt
@@ -368,4 +368,15 @@ highlighting. So do these:
You can find the details in $VIMRUNTIME/syntax/help.vim
+ *inclusion*
+Some people make a big deal about using "his" when referring to the user,
+thinking it means we assume the user is male. That is of course not the case,
+it's just a habit of writing help text, which quite often is many years old.
+Also, a lot of the text is written by contributors for who English is not
+their first language. We do not make any assumptions about the gender of the
+user, no matter how the text is phrased. And we do not want to waste time on
+this discussion. The goal is that the reader understands how Vim works, the
+exact wording is secondary.
+
+
vim:tw=78:ts=8:noet:ft=help:norl:
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt
index 98a2830d3f..d442829773 100644
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -194,7 +194,7 @@ The name for a highlight or syntax group must consist of ASCII letters, digits
and the underscore. As a regexp: "[a-zA-Z0-9_]*". However, Vim does not give
an error when using other characters.
-To be able to allow each user to pick his favorite set of colors, there must
+To be able to allow each user to pick their favorite set of colors, there must
be preferred names for highlight groups that are common for many languages.
These are the suggested group names (if syntax highlighting works properly
you can see the actual color, except for "Ignore"):
@@ -4486,8 +4486,8 @@ two different ways:
(e.g., "syntax/pod.vim") the file is searched for in 'runtimepath'.
All matching files are loaded. Using a relative path is
recommended, because it allows a user to replace the included file
- with his own version, without replacing the file that does the ":syn
- include".
+ with their own version, without replacing the file that does the
+ ":syn include".
*E847*
The maximum number of includes is 999.
diff --git a/runtime/doc/usr_03.txt b/runtime/doc/usr_03.txt
index c8d1e996ae..b1b04f95c7 100644
--- a/runtime/doc/usr_03.txt
+++ b/runtime/doc/usr_03.txt
@@ -347,7 +347,8 @@ to find the first #include after the cursor: >
And then type "n" several times. You will move to each #include in the text.
You can also use a count if you know which match you want. Thus "3n" finds
-the third match. Using a count with "/" doesn't work.
+the third match. You can also use a count with "/": "4/the" goes to the
+fourth match of "the".
The "?" command works like "/" but searches backwards: >
diff --git a/runtime/pack/dist/opt/matchit/autoload/matchit.vim b/runtime/pack/dist/opt/matchit/autoload/matchit.vim
index f56e9e223d..4f3dd8ff9e 100644
--- a/runtime/pack/dist/opt/matchit/autoload/matchit.vim
+++ b/runtime/pack/dist/opt/matchit/autoload/matchit.vim
@@ -1,6 +1,6 @@
" matchit.vim: (global plugin) Extended "%" matching
" autload script of matchit plugin, see ../plugin/matchit.vim
-" Last Change: 2019 Oct 24
+" Last Change: Mar 01, 2020
let s:last_mps = ""
let s:last_words = ":"
@@ -48,6 +48,8 @@ function matchit#Match_wrapper(word, forward, mode) range
execute "normal! gv\<Esc>"
elseif a:mode == "o" && mode(1) !~# '[vV]'
exe "norm! v"
+ elseif a:mode == "n" && mode(1) =~# 'ni'
+ exe "norm! v"
endif
" In s:CleanUp(), we may need to check whether the cursor moved forward.
let startpos = [line("."), col(".")]
diff --git a/runtime/pack/dist/opt/matchit/doc/matchit.txt b/runtime/pack/dist/opt/matchit/doc/matchit.txt
index 8d810d3f57..3cd2c8e2a7 100644
--- a/runtime/pack/dist/opt/matchit/doc/matchit.txt
+++ b/runtime/pack/dist/opt/matchit/doc/matchit.txt
@@ -4,7 +4,7 @@ For instructions on installing this file, type
`:help matchit-install`
inside Vim.
-For Vim version 8.1. Last change: 2019 Oct 24
+For Vim version 8.1. Last change: 2020 Mar 01
VIM REFERENCE MANUAL by Benji Fisher et al
diff --git a/runtime/pack/dist/opt/matchit/plugin/matchit.vim b/runtime/pack/dist/opt/matchit/plugin/matchit.vim
index 4d0f4e014a..b62cc3913a 100644
--- a/runtime/pack/dist/opt/matchit/plugin/matchit.vim
+++ b/runtime/pack/dist/opt/matchit/plugin/matchit.vim
@@ -1,6 +1,6 @@
" matchit.vim: (global plugin) Extended "%" matching
" Maintainer: Christian Brabandt
-" Version: 1.16
+" Version: 1.17
" Last Change: 2019 Oct 24
" Repository: https://github.com/chrisbra/matchit
" Previous URL:http://www.vim.org/script.php?script_id=39