summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-05-30 20:54:13 +0200
committerBram Moolenaar <Bram@vim.org>2021-05-30 20:54:13 +0200
commitd2ea7cf10a4d026ebd402594d656af7d5c811c24 (patch)
tree0d72953a92ce37bbdfe87178ab6692ea7ed0d14c /runtime
parent6ef5ab59043681a51e8ca2ab0a1e4ff8f0f4bb47 (diff)
Update runtime files
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/autocmd.txt9
-rw-r--r--runtime/doc/cmdline.txt4
-rw-r--r--runtime/doc/diff.txt10
-rw-r--r--runtime/doc/editing.txt8
-rw-r--r--runtime/doc/ft_sql.txt2
-rw-r--r--runtime/doc/if_tcl.txt8
-rw-r--r--runtime/doc/index.txt6
-rw-r--r--runtime/doc/options.txt4
-rw-r--r--runtime/doc/quickfix.txt5
-rw-r--r--runtime/doc/spell.txt6
-rw-r--r--runtime/doc/syntax.txt10
-rw-r--r--runtime/doc/tags5
-rw-r--r--runtime/doc/textprop.txt7
-rw-r--r--runtime/doc/todo.txt38
-rw-r--r--runtime/doc/usr_08.txt4
-rw-r--r--runtime/doc/usr_09.txt2
-rw-r--r--runtime/doc/version6.txt4
-rw-r--r--runtime/doc/vim9.txt7
-rw-r--r--runtime/doc/visual.txt4
-rw-r--r--runtime/indent/python.vim4
-rw-r--r--runtime/pack/dist/opt/termdebug/plugin/termdebug.vim46
-rw-r--r--runtime/syntax/c.vim5
-rw-r--r--runtime/syntax/cpp.vim40
-rw-r--r--runtime/syntax/sh.vim46
-rw-r--r--runtime/syntax/vim.vim75
-rw-r--r--runtime/tutor/tutor4
-rw-r--r--runtime/tutor/tutor.bar2
-rw-r--r--runtime/tutor/tutor.bar.utf-82
-rw-r--r--runtime/tutor/tutor.bg.utf-84
-rw-r--r--runtime/tutor/tutor.ca4
-rw-r--r--runtime/tutor/tutor.ca.utf-84
-rw-r--r--runtime/tutor/tutor.cs4
-rw-r--r--runtime/tutor/tutor.cs.cp12504
-rw-r--r--runtime/tutor/tutor.cs.utf-84
-rw-r--r--runtime/tutor/tutor.da2
-rw-r--r--runtime/tutor/tutor.da.utf-82
-rw-r--r--runtime/tutor/tutor.de2
-rw-r--r--runtime/tutor/tutor.de.utf-82
-rw-r--r--runtime/tutor/tutor.el4
-rw-r--r--runtime/tutor/tutor.el.cp7374
-rw-r--r--runtime/tutor/tutor.el.utf-84
-rw-r--r--runtime/tutor/tutor.eo2
-rw-r--r--runtime/tutor/tutor.eo.utf-82
-rw-r--r--runtime/tutor/tutor.fr2
-rw-r--r--runtime/tutor/tutor.fr.utf-82
-rw-r--r--runtime/tutor/tutor.hr2
-rw-r--r--runtime/tutor/tutor.hr.cp12502
-rw-r--r--runtime/tutor/tutor.hr.utf-82
-rw-r--r--runtime/tutor/tutor.hu4
-rw-r--r--runtime/tutor/tutor.hu.cp12504
-rw-r--r--runtime/tutor/tutor.hu.utf-84
-rw-r--r--runtime/tutor/tutor.it2
-rw-r--r--runtime/tutor/tutor.it.utf-82
-rw-r--r--runtime/tutor/tutor.ja.euc4
-rw-r--r--runtime/tutor/tutor.ja.sjis4
-rw-r--r--runtime/tutor/tutor.ja.utf-84
-rw-r--r--runtime/tutor/tutor.ko4
-rw-r--r--runtime/tutor/tutor.ko.euc4
-rw-r--r--runtime/tutor/tutor.ko.utf-84
-rw-r--r--runtime/tutor/tutor.lv.utf-84
-rw-r--r--runtime/tutor/tutor.nb2
-rw-r--r--runtime/tutor/tutor.nb.utf-82
-rw-r--r--runtime/tutor/tutor.nl2
-rw-r--r--runtime/tutor/tutor.nl.utf-82
-rw-r--r--runtime/tutor/tutor.no2
-rw-r--r--runtime/tutor/tutor.no.utf-82
-rw-r--r--runtime/tutor/tutor.pl2
-rw-r--r--runtime/tutor/tutor.pl.cp12502
-rw-r--r--runtime/tutor/tutor.pl.utf-82
-rw-r--r--runtime/tutor/tutor.pt2
-rw-r--r--runtime/tutor/tutor.pt.utf-84
-rw-r--r--runtime/tutor/tutor.ru2
-rw-r--r--runtime/tutor/tutor.ru.cp12512
-rw-r--r--runtime/tutor/tutor.ru.utf-82
-rw-r--r--runtime/tutor/tutor.sk2
-rw-r--r--runtime/tutor/tutor.sk.cp12502
-rw-r--r--runtime/tutor/tutor.sk.utf-82
-rw-r--r--runtime/tutor/tutor.sr.cp12502
-rw-r--r--runtime/tutor/tutor.sr.utf-82
-rw-r--r--runtime/tutor/tutor.sv4
-rw-r--r--runtime/tutor/tutor.sv.utf-84
-rw-r--r--runtime/tutor/tutor.tr.iso92
-rw-r--r--runtime/tutor/tutor.tr.utf-82
-rw-r--r--runtime/tutor/tutor.uk.utf-84
-rw-r--r--runtime/tutor/tutor.utf-84
-rw-r--r--runtime/tutor/tutor.vi.utf-84
-rw-r--r--runtime/tutor/tutor.zh.big52
-rw-r--r--runtime/tutor/tutor.zh.euc2
-rw-r--r--runtime/tutor/tutor.zh.utf-82
-rw-r--r--runtime/tutor/tutor.zh_cn.utf-82
-rw-r--r--runtime/tutor/tutor.zh_tw.utf-82
91 files changed, 320 insertions, 223 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt
index ee2dc562b2..4536d5b3e5 100644
--- a/runtime/doc/autocmd.txt
+++ b/runtime/doc/autocmd.txt
@@ -1,4 +1,4 @@
-*autocmd.txt* For Vim version 8.2. Last change: 2021 Apr 25
+*autocmd.txt* For Vim version 8.2. Last change: 2021 May 29
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -985,9 +985,10 @@ QuickFixCmdPost Like QuickFixCmdPre, but after a quickfix
*QuitPre*
QuitPre When using `:quit`, `:wq` or `:qall`, before
deciding whether it closes the current window
- or quits Vim. Can be used to close any
- non-essential window if the current window is
- the last ordinary window.
+ or quits Vim. For `:wq` the buffer is written
+ before QuitPre is triggered. Can be used to
+ close any non-essential window if the current
+ window is the last ordinary window.
Also see |ExitPre|.
*RemoteReply*
RemoteReply When a reply from a Vim that functions as
diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt
index 2cd96d0186..5564f5d37d 100644
--- a/runtime/doc/cmdline.txt
+++ b/runtime/doc/cmdline.txt
@@ -1,4 +1,4 @@
-*cmdline.txt* For Vim version 8.2. Last change: 2021 May 08
+*cmdline.txt* For Vim version 8.2. Last change: 2021 May 30
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1134,7 +1134,7 @@ in Normal mode and Insert mode.
It is possible to use ":", "/" and other commands that use the command-line,
but it's not possible to open another command-line window then. There is no
nesting.
- *E11*
+ *E11* *E1188*
The command-line window is not a normal window. It is not possible to move to
another window or edit another buffer. All commands that would do this are
disabled in the command-line window. Of course it _is_ possible to execute
diff --git a/runtime/doc/diff.txt b/runtime/doc/diff.txt
index 62201d4502..2a231b15bb 100644
--- a/runtime/doc/diff.txt
+++ b/runtime/doc/diff.txt
@@ -1,4 +1,4 @@
-*diff.txt* For Vim version 8.2. Last change: 2021 Feb 10
+*diff.txt* For Vim version 8.2. Last change: 2021 May 24
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -345,9 +345,11 @@ between file1 and file2: >
The ">" is replaced with the value of 'shellredir'.
-The output of "diff" must be a normal "ed" style diff or a unified diff. Do
-NOT use a context diff. This example explains the format that Vim expects for
-the "ed" style diff: >
+The output of "diff" must be a normal "ed" style diff or a unified diff. A
+context diff will NOT work. For a unified diff no context lines can be used.
+Using "diff -u" will NOT work, use "diff -U0".
+
+This example explains the format that Vim expects for the "ed" style diff: >
1a2
> bbb
diff --git a/runtime/doc/editing.txt b/runtime/doc/editing.txt
index 1351d4e96e..2331798689 100644
--- a/runtime/doc/editing.txt
+++ b/runtime/doc/editing.txt
@@ -1,4 +1,4 @@
-*editing.txt* For Vim version 8.2. Last change: 2021 Apr 05
+*editing.txt* For Vim version 8.2. Last change: 2021 May 27
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1320,8 +1320,8 @@ present in 'cpoptions' and "!" is not used in the command.
*:chd* *:chdir*
:chd[ir][!] [path] Same as |:cd|.
- *:tcd*
-:tcd[!] {path} Like |:cd|, but only set the directory for the current
+ *:tc* *:tcd*
+:tc[d][!] {path} Like |:cd|, but only set the directory for the current
tab. The current window will also use this directory.
The current directory is not changed for windows in
other tabs and for windows in the current tab that
@@ -1331,7 +1331,7 @@ present in 'cpoptions' and "!" is not used in the command.
:tch[dir][!] Same as |:tcd|.
*:tcd-*
-:tcd[!] - Change to the previous current directory, before the
+:tc[d][!] - Change to the previous current directory, before the
last ":tcd {path}" command.
*:lc* *:lcd*
diff --git a/runtime/doc/ft_sql.txt b/runtime/doc/ft_sql.txt
index e8490d50fb..9a7a6e7f50 100644
--- a/runtime/doc/ft_sql.txt
+++ b/runtime/doc/ft_sql.txt
@@ -440,7 +440,7 @@ the space bar):
replace the column list with the list of tables.
- This allows you to quickly drill down into a
table to view its columns and back again.
- - <Right> and <Left> can be also be chosen via
+ - <Right> and <Left> can also be chosen via
your |.vimrc| >
let g:ftplugin_sql_omni_key_right = '<Right>'
let g:ftplugin_sql_omni_key_left = '<Left>'
diff --git a/runtime/doc/if_tcl.txt b/runtime/doc/if_tcl.txt
index 90dec9dba1..88ab1198ed 100644
--- a/runtime/doc/if_tcl.txt
+++ b/runtime/doc/if_tcl.txt
@@ -1,4 +1,4 @@
-*if_tcl.txt* For Vim version 8.2. Last change: 2019 Jul 21
+*if_tcl.txt* For Vim version 8.2. Last change: 2021 May 27
VIM REFERENCE MANUAL by Ingo Wilken
@@ -25,12 +25,12 @@ comments, ideas etc to <Ingo.Wilken@informatik.uni-oldenburg.de>
==============================================================================
1. Commands *tcl-ex-commands* *E571* *E572*
- *:tcl* *:tc*
-:tc[l] {cmd} Execute Tcl command {cmd}. A simple check if `:tcl`
+ *:tcl*
+:tcl {cmd} Execute Tcl command {cmd}. A simple check if `:tcl`
is working: >
:tcl puts "Hello"
-:[range]tc[l] << [trim] [{endmarker}]
+:[range]tcl << [trim] [{endmarker}]
{script}
{endmarker}
Execute Tcl script {script}.
diff --git a/runtime/doc/index.txt b/runtime/doc/index.txt
index 57493097b1..545adff01a 100644
--- a/runtime/doc/index.txt
+++ b/runtime/doc/index.txt
@@ -1,4 +1,4 @@
-*index.txt* For Vim version 8.2. Last change: 2021 Apr 24
+*index.txt* For Vim version 8.2. Last change: 2021 May 27
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1657,9 +1657,9 @@ tag command action ~
|:tab| :tab create new tab when opening new window
|:tag| :ta[g] jump to tag
|:tags| :tags show the contents of the tag stack
-|:tcd| :tcd change directory for tab page
+|:tcd| :tc[d] change directory for tab page
|:tchdir| :tch[dir] change directory for tab page
-|:tcl| :tc[l] execute Tcl command
+|:tcl| :tcl execute Tcl command
|:tcldo| :tcld[o] execute Tcl command for each line
|:tclfile| :tclf[ile] execute Tcl script file
|:tearoff| :te[aroff] tear-off a menu
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 2f69049fcf..b2b79cb081 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -1,4 +1,4 @@
-*options.txt* For Vim version 8.2. Last change: 2021 May 15
+*options.txt* For Vim version 8.2. Last change: 2021 May 16
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -7495,6 +7495,8 @@ A jump table for the options with a short description can be found at |Q_op|.
'switchbuf' 'swb' string (default "")
global
This option controls the behavior when switching between buffers.
+ Mostly for |quickfix| commands some values are also used for other
+ commands, as mentioned below.
Possible values (comma separated list):
useopen If included, jump to the first open window that
contains the specified buffer (if there is one).
diff --git a/runtime/doc/quickfix.txt b/runtime/doc/quickfix.txt
index f94da7d2a2..9ebefa956d 100644
--- a/runtime/doc/quickfix.txt
+++ b/runtime/doc/quickfix.txt
@@ -1,4 +1,4 @@
-*quickfix.txt* For Vim version 8.2. Last change: 2021 May 02
+*quickfix.txt* For Vim version 8.2. Last change: 2021 May 22
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1386,7 +1386,8 @@ Basic items
%o module name (finds a string)
%l line number (finds a number)
%c column number (finds a number representing character
- column of the error, (1 <tab> == 1 character column))
+ column of the error, byte index, a <tab> is 1
+ character column)
%v virtual column number (finds a number representing
screen column of the error (1 <tab> == 8 screen
columns))
diff --git a/runtime/doc/spell.txt b/runtime/doc/spell.txt
index 1504ea91a4..872f2512be 100644
--- a/runtime/doc/spell.txt
+++ b/runtime/doc/spell.txt
@@ -1143,10 +1143,10 @@ flag to avoid lots of errors.
CIRCUMFIX *spell-CIRCUMFIX*
The CIRCUMFIX flag means a prefix and suffix must be added at the same time.
-If a prefix has the CIRCUMFIX flag than only suffixes with the CIRCUMFIX flag
+If a prefix has the CIRCUMFIX flag then only suffixes with the CIRCUMFIX flag
can be added, and the other way around.
-An alternative is to only specify the suffix, and give the that suffix two
-flags: The required prefix and the NEEDAFFIX flag. |spell-NEEDAFFIX|
+An alternative is to only specify the suffix, and give that suffix two flags:
+the required prefix and the NEEDAFFIX flag. |spell-NEEDAFFIX|
PFXPOSTPONE *spell-PFXPOSTPONE*
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt
index 685485d035..d457067c8f 100644
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -1,4 +1,4 @@
-*syntax.txt* For Vim version 8.2. Last change: 2021 Apr 02
+*syntax.txt* For Vim version 8.2. Last change: 2021 May 30
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -4967,6 +4967,14 @@ ctermul={color-nr} *highlight-ctermul*
colors for a color-xterm can be changed from the .Xdefaults file.
Unfortunately this means that it's not possible to get the same colors
for each user. See |xterm-color| for info about color xterms.
+ *tmux*
+ When using tmux you may want to use this in the tmux config: >
+ # tmux colors
+ set -g default-terminal "xterm-256color"
+ set -ag terminal-overrides ",xterm-256color:Tc"
+< More info at:
+ https://github.com/tmux/tmux/wiki/FAQ#how-do-i-use-a-256-colour-terminal
+ https://github.com/tmux/tmux/wiki/FAQ#how-do-i-use-rgb-colour
The MS-Windows standard colors are fixed (in a console window), so
these have been used for the names. But the meaning of color names in
diff --git a/runtime/doc/tags b/runtime/doc/tags
index dd73ba2d3e..18f71f1e84 100644
--- a/runtime/doc/tags
+++ b/runtime/doc/tags
@@ -3317,7 +3317,7 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
:tabs tabpage.txt /*:tabs*
:tag tagsrch.txt /*:tag*
:tags tagsrch.txt /*:tags*
-:tc if_tcl.txt /*:tc*
+:tc editing.txt /*:tc*
:tcd editing.txt /*:tcd*
:tcd- editing.txt /*:tcd-*
:tch editing.txt /*:tch*
@@ -3961,6 +3961,8 @@ E1155 autocmd.txt /*E1155*
E116 eval.txt /*E116*
E117 eval.txt /*E117*
E118 eval.txt /*E118*
+E1187 starting.txt /*E1187*
+E1188 cmdline.txt /*E1188*
E119 eval.txt /*E119*
E12 message.txt /*E12*
E120 eval.txt /*E120*
@@ -9742,6 +9744,7 @@ timestamp editing.txt /*timestamp*
timestamps editing.txt /*timestamps*
tips tips.txt /*tips*
tips.txt tips.txt /*tips.txt*
+tmux syntax.txt /*tmux*
todo todo.txt /*todo*
todo.txt todo.txt /*todo.txt*
toggle options.txt /*toggle*
diff --git a/runtime/doc/textprop.txt b/runtime/doc/textprop.txt
index 2a6f405596..c1342905be 100644
--- a/runtime/doc/textprop.txt
+++ b/runtime/doc/textprop.txt
@@ -1,4 +1,4 @@
-*textprop.txt* For Vim version 8.2. Last change: 2021 Mar 22
+*textprop.txt* For Vim version 8.2. Last change: 2021 May 26
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -126,7 +126,7 @@ prop_add({lnum}, {col}, {props})
length length of text in bytes, can only be used
for a property that does not continue in
another line; can be zero
- end_lnum line number for the end of text
+ end_lnum line number for the end of text (inclusive)
end_col column just after the text; not used when
"length" is present; when {col} and "end_col"
are equal, and "end_lnum" is omitted or equal
@@ -228,7 +228,8 @@ prop_remove({props} [, {lnum} [, {lnum-end}]])
{lnum-end} is given, remove matching text properties from line
{lnum} to {lnum-end} (inclusive).
When {lnum} is omitted remove matching text properties from
- all lines.
+ all lines (this requires going over all lines, thus will be a
+ bit slow for a buffer with many lines).
{props} is a dictionary with these fields:
id remove text properties with this ID
diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt
index 1cfb9480ee..b46c44094e 100644
--- a/runtime/doc/todo.txt
+++ b/