summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-02-17 22:47:16 +0100
committerBram Moolenaar <Bram@vim.org>2017-02-17 22:47:16 +0100
commit3df0173fa6d0418e89ef4e9c1d04a97c92eec27c (patch)
treedd89eb96a512862d2e4ac45310b1a687b05f9e43 /runtime
parent8c50d50b6e19b755d7bad7b2724d14ead29364a7 (diff)
Updated runtime files.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/autoload/ada.vim12
-rw-r--r--runtime/doc/change.txt14
-rw-r--r--runtime/doc/diff.txt7
-rw-r--r--runtime/doc/eval.txt19
-rw-r--r--runtime/doc/helphelp.txt17
-rw-r--r--runtime/doc/if_pyth.txt10
-rw-r--r--runtime/doc/options.txt34
-rw-r--r--runtime/doc/repeat.txt7
-rw-r--r--runtime/doc/syntax.txt15
-rw-r--r--runtime/doc/tabpage.txt26
-rw-r--r--runtime/doc/tags3
-rw-r--r--runtime/doc/todo.txt102
-rw-r--r--runtime/doc/usr_03.txt2
-rw-r--r--runtime/doc/version6.txt6
-rw-r--r--runtime/doc/version7.txt6
-rw-r--r--runtime/ftplugin/awk.vim18
-rw-r--r--runtime/menu.vim4
-rw-r--r--runtime/optwin.vim2
-rw-r--r--runtime/syntax/sh.vim6
-rw-r--r--runtime/syntax/tex.vim8
-rw-r--r--runtime/syntax/xpm.vim7
-rw-r--r--runtime/syntax/xpm2.vim7
-rw-r--r--runtime/tutor/tutor.es2
-rw-r--r--runtime/tutor/tutor.it4
-rw-r--r--runtime/tutor/tutor.it.utf-84
-rw-r--r--runtime/tutor/tutor.pt472
-rw-r--r--runtime/tutor/tutor.pt.utf-8472
27 files changed, 741 insertions, 545 deletions
diff --git a/runtime/autoload/ada.vim b/runtime/autoload/ada.vim
index 1f8234a575..ce3a19369a 100644
--- a/runtime/autoload/ada.vim
+++ b/runtime/autoload/ada.vim
@@ -2,12 +2,13 @@
" Description: Perform Ada specific completion & tagging.
" Language: Ada (2005)
" $Id: ada.vim 887 2008-07-08 14:29:01Z krischik $
-" Maintainer: Martin Krischik <krischik@users.sourceforge.net>
+" Maintainer: Mathias Brousset <mathiasb17@gmail.com>
+" Martin Krischik <krischik@users.sourceforge.net>
" Taylor Venable <taylor@metasyntax.net>
" Neil Bird <neil@fnxweb.com>
" Ned Okie <nokie@radford.edu>
" $Author: krischik $
-" $Date: 2008-07-08 16:29:01 +0200 (Di, 08 Jul 2008) $
+" $Date: 2017-01-31 20:20:05 +0200 (Mon, 01 Jan 2017) $
" Version: 4.6
" $Revision: 887 $
" $HeadURL: https://gnuada.svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/autoload/ada.vim $
@@ -23,6 +24,7 @@
" 09.05.2007 MK Session just won't work no matter how much
" tweaking is done
" 19.09.2007 NO still some mapleader problems
+" 31.01.2017 MB fix more mapleader problems
" Help Page: ft-ada-functions
"------------------------------------------------------------------------------
@@ -447,7 +449,7 @@ function ada#Switch_Session (New_Session)
if a:New_Session != v:this_session
"
- " We actualy got a new session - otherwise there
+ " We actually got a new session - otherwise there
" is nothing to do.
"
if strlen (v:this_session) > 0
@@ -585,11 +587,11 @@ function ada#Map_Menu (Text, Keys, Command)
\ " :" . a:Command . "<CR>"
execute
\ "nnoremap <buffer>" .
- \ escape(l:leader . "a" . a:Keys , '\') .
+ \ " <Leader>a" . a:Keys .
\" :" . a:Command
execute
\ "inoremap <buffer>" .
- \ escape(l:leader . "a" . a:Keys , '\') .
+ \ " <Learder>a" . a:Keys .
\" <C-O>:" . a:Command
endif
return
diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt
index e40805ea9e..8cca76382e 100644
--- a/runtime/doc/change.txt
+++ b/runtime/doc/change.txt
@@ -1,4 +1,4 @@
-*change.txt* For Vim version 8.0. Last change: 2016 Nov 19
+*change.txt* For Vim version 8.0. Last change: 2017 Feb 12
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -635,12 +635,14 @@ For other systems the tmpnam() library function is used.
For the {pattern} see |pattern|.
{string} can be a literal string, or something
special; see |sub-replace-special|.
+ *E939*
When [range] and [count] are omitted, replace in the
- current line only.
- When [count] is given, replace in [count] lines,
- starting with the last line in [range]. When [range]
- is omitted start in the current line.
- Also see |cmdline-ranges|.
+ current line only. When [count] is given, replace in
+ [count] lines, starting with the last line in [range].
+ When [range] is omitted start in the current line.
+ [count] must be a positive number. Also see
+ |cmdline-ranges|.
+
See |:s_flags| for [flags].
:[range]s[ubstitute] [flags] [count]
diff --git a/runtime/doc/diff.txt b/runtime/doc/diff.txt
index 378874f3e3..7361d420f7 100644
--- a/runtime/doc/diff.txt
+++ b/runtime/doc/diff.txt
@@ -1,4 +1,4 @@
-*diff.txt* For Vim version 8.0. Last change: 2016 Aug 24
+*diff.txt* For Vim version 8.0. Last change: 2017 Feb 03
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -131,6 +131,8 @@ file for a moment and come back to the same file and be in diff mode again.
related options only happens in a window that has 'diff' set,
if the current window does not have 'diff' set then no options
in it are changed.
+ Hidden buffers are also removed from the list of diff'ed
+ buffers.
The `:diffoff` command resets the relevant options to the values they had when
using `:diffsplit`, `:diffpatch` , `:diffthis`. or starting Vim in diff mode.
@@ -164,7 +166,8 @@ The alignment of text will go wrong when:
All the buffers edited in a window where the 'diff' option is set will join in
the diff. This is also possible for hidden buffers. They must have been
-edited in a window first for this to be possible.
+edited in a window first for this to be possible. To get rid of the hidden
+buffers use `:diffoff!`.
*:DiffOrig* *diff-original-file*
Since 'diff' is a window-local option, it's possible to view the same buffer
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 1b3f1128f0..bdc4b6388b 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -1,4 +1,4 @@
-*eval.txt* For Vim version 8.0. Last change: 2017 Jan 28
+*eval.txt* For Vim version 8.0. Last change: 2017 Feb 17
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1329,7 +1329,8 @@ b:changedtick The total number of changes to the current buffer. It is
: let my_changedtick = b:changedtick
: call My_Update()
:endif
-<
+< You cannot change or delete the b:changedtick variable.
+
*window-variable* *w:var* *w:*
A variable name that is preceded with "w:" is local to the current window. It
is deleted when the window is closed.
@@ -4371,8 +4372,8 @@ getfontname([{name}]) *getfontname()*
Only works when the GUI is running, thus not in your vimrc or
gvimrc file. Use the |GUIEnter| autocommand to use this
function just after the GUI has started.
- Note that the GTK 2 GUI accepts any font name, thus checking
- for a valid name does not work.
+ Note that the GTK GUI accepts any font name, thus checking for
+ a valid name does not work.
getfperm({fname}) *getfperm()*
The result is a String, which is the read, write, and execute
@@ -5978,7 +5979,7 @@ printf({fmt}, {expr1} ...) *printf()*
%e floating point number as 1.23e3, inf, -inf or nan
%E floating point number as 1.23E3, INF, -INF or NAN
%g floating point number, as %f or %e depending on value
- %G floating point number, as %f or %E depending on value
+ %G floating point number, as %F or %E depending on value
%% the % character itself
Conversion specifications start with '%' and end with the
@@ -7807,6 +7808,8 @@ test_settime({expr}) *test_settime()*
Set the time Vim uses internally. Currently only used for
timestamps in the history, as they are used in viminfo, and
for undo.
+ Using a value of 1 makes Vim not sleep after a warning or
+ error message.
{expr} must evaluate to a number. When the value is zero the
normal behavior is restored.
@@ -8463,6 +8466,7 @@ toolbar Compiled with support for |gui-toolbar|.
ttyin input is a terminal (tty)
ttyout output is a terminal (tty)
unix Unix version of Vim.
+unnamedplus Compiled with support for "unnamedplus" in 'clipboard'
user_commands User-defined commands.
vertsplit Compiled with vertically split windows |:vsplit|.
vim_starting True while initial source'ing takes place. |startup|
@@ -8966,6 +8970,11 @@ This does NOT work: >
value and the global value are changed.
Example: >
:let &path = &path . ',/usr/local/include'
+< This also works for terminal codes in the form t_xx.
+ But only for alphanumerical names. Example: >
+ :let &t_k1 = "\<Esc>[234;"
+< When the code does not exist yet it will be created as
+ a terminal key code, there is no error.
:let &{option-name} .= {expr1}
For a string option: Append {expr1} to the value.
diff --git a/runtime/doc/helphelp.txt b/runtime/doc/helphelp.txt
index b51fe78eb3..32051d4963 100644
--- a/runtime/doc/helphelp.txt
+++ b/runtime/doc/helphelp.txt
@@ -1,4 +1,4 @@
-*helphelp.txt* For Vim version 8.0. Last change: 2016 Apr 01
+*helphelp.txt* For Vim version 8.0. Last change: 2017 Feb 09
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -28,10 +28,16 @@ Help on help files *helphelp*
*{subject}* *E149* *E661*
:h[elp] {subject} Like ":help", additionally jump to the tag {subject}.
- {subject} can include wildcards like "*", "?" and
+ For example: >
+ :help options
+
+< {subject} can include wildcards such as "*", "?" and
"[a-z]":
:help z? jump to help for any "z" command
:help z. jump to the help for "z."
+ But when a tag exists it is taken literally:
+ :help :? jump to help for ":?"
+
If there is no full match for the pattern, or there
are several matches, the "best" match will be used.
A sophisticated algorithm is used to decide which
@@ -68,18 +74,19 @@ Help on help files *helphelp*
example to find help for CTRL-V in Insert mode: >
:help i^V
<
- To use a regexp |pattern|, first do ":help" and then
+ It is also possible to first do ":help" and then
use ":tag {pattern}" in the help window. The
":tnext" command can then be used to jump to other
matches, "tselect" to list matches and choose one. >
- :help index| :tse z.
+ :help index
+ :tselect /.*mode
< When there is no argument you will see matches for
"help", to avoid listing all possible matches (that
would be very slow).
The number of matches displayed is limited to 300.
- This command can be followed by '|' and another
+ The `:help` command can be followed by '|' and another
command, but you don't need to escape the '|' inside a
help command. So these both work: >
:help |
diff --git a/runtime/doc/if_pyth.txt b/runtime/doc/if_pyth.txt
index 2016e33c7c..71bbb13f89 100644
--- a/runtime/doc/if_pyth.txt
+++ b/runtime/doc/if_pyth.txt
@@ -1,4 +1,4 @@
-*if_pyth.txt* For Vim version 8.0. Last change: 2017 Jan 28
+*if_pyth.txt* For Vim version 8.0. Last change: 2017 Feb 17
VIM REFERENCE MANUAL by Paul Moore
@@ -731,9 +731,11 @@ To use the Python interface the Python DLL must be in your search path. In a
console window type "path" to see what directories are used. The 'pythondll'
or 'pythonthreedll' option can be also used to specify the Python DLL.
-The name of the DLL must match the Python version Vim was compiled with.
-Currently the name is "python24.dll". That is for Python 2.4. To know for
-sure edit "gvim.exe" and search for "python\d*.dll\c".
+The name of the DLL should match the Python version Vim was compiled with.
+Currently the name for Python 2 is "python27.dll", that is for Python 2.7.
+That is the default value for 'pythondll'. For Python 3 it is python35.dll
+(Python 3.5). To know for sure edit "gvim.exe" and search for
+"python\d*.dll\c".
Unix ~
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 385f0bbfe2..215215fd0a 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -1,4 +1,4 @@
-*options.txt* For Vim version 8.0. Last change: 2017 Jan 28
+*options.txt* For Vim version 8.0. Last change: 2017 Feb 09
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2684,8 +2684,8 @@ A jump table for the options with a short description can be found at |Q_op|.
This option cannot be set from a |modeline|. It would most likely
corrupt the text.
- NOTE: For GTK+ 2 it is highly recommended to set 'encoding' to
- "utf-8". Although care has been taken to allow different values of
+ NOTE: For GTK+ 2 or later, it is highly recommended to set 'encoding'
+ to "utf-8". Although care has been taken to allow different values of
'encoding', "utf-8" is the natural choice for the environment and
avoids unnecessary conversion overhead. "utf-8" has not been made
the default to prevent different behavior of the GUI and terminal
@@ -3596,6 +3596,14 @@ A jump table for the options with a short description can be found at |Q_op|.
On systems where 'guifontset' is supported (X11) and 'guifontset' is
not empty, then 'guifont' is not used.
+ Note: As to the GTK GUIs, no error is given against any invalid names,
+ and the first element of the list is always picked up and made use of.
+ This is because, instead of identifying a given name with a font, the
+ GTK GUIs use it to construct a pattern and try to look up a font which
+ best matches the pattern among available fonts, and this way, the
+ matching never fails. An invalid name doesn't matter because a number
+ of font properties other than name will do to get the matching done.
+
Spaces after a comma are ignored. To include a comma in a font name
precede it with a backslash. Setting an option requires an extra
backslash before a space and a backslash. See also
@@ -3618,7 +3626,7 @@ A jump table for the options with a short description can be found at |Q_op|.
The font name depends on the GUI used. See |setting-guifont| for a
way to set 'guifont' for various systems.
- For the GTK+ 2 GUI the font name looks like this: >
+ For the GTK+ 2 and 3 GUIs, the font name looks like this: >
:set guifont=Andale\ Mono\ 11
< That's all. XLFDs are not used. For Chinese this is reported to work
well: >
@@ -3627,13 +3635,15 @@ A jump table for the options with a short description can be found at |Q_op|.
set guifontwide=Microsoft\ Yahei\ 12,WenQuanYi\ Zen\ Hei\ 12
endif
<
+ (Replace gui_gtk2 with gui_gtk3 for the GTK+ 3 GUI)
+
For Mac OSX you can use something like this: >
:set guifont=Monaco:h10
< Also see 'macatsui', it can help fix display problems.
*E236*
Note that the fonts must be mono-spaced (all characters have the same
- width). An exception is GTK 2: all fonts are accepted, but
- mono-spaced fonts look best.
+ width). An exception is GTK: all fonts are accepted, but mono-spaced
+ fonts look best.
To preview a font on X11, you might be able to use the "xfontsel"
program. The "xlsfonts" program gives a list of all available fonts.
@@ -3671,7 +3681,7 @@ A jump table for the options with a short description can be found at |Q_op|.
{not in Vi}
{only available when compiled with GUI enabled and
with the |+xfontset| feature}
- {not available in the GTK+ 2 GUI}
+ {not available in the GTK+ GUI}
When not empty, specifies two (or more) fonts to be used. The first
one for normal English, the second one for your special language. See
|xfontset|.
@@ -3700,7 +3710,7 @@ A jump table for the options with a short description can be found at |Q_op|.
Note: The size of these fonts must be exactly twice as wide as the one
specified with 'guifont' and the same height.
- All GUI versions but GTK+ 2:
+ All GUI versions but GTK+:
'guifontwide' is only used when 'encoding' is set to "utf-8" and
'guifontset' is empty or invalid.
@@ -3708,7 +3718,7 @@ A jump table for the options with a short description can be found at |Q_op|.
'guifontwide' is empty Vim will attempt to find a matching
double-width font and set 'guifontwide' to it.
- GTK+ 2 GUI only: *guifontwide_gtk2*
+ GTK+ GUI only: *guifontwide_gtk*
If set and valid, 'guifontwide' is always used for double width
characters, even if 'encoding' is not set to "utf-8".
@@ -7606,7 +7616,7 @@ A jump table for the options with a short description can be found at |Q_op|.
For further details see |arabic.txt|.
*'termencoding'* *'tenc'*
-'termencoding' 'tenc' string (default ""; with GTK+ 2 GUI: "utf-8"; with
+'termencoding' 'tenc' string (default ""; with GTK+ GUI: "utf-8"; with
Macintosh GUI: "macroman")
global
{only available when compiled with the |+multi_byte|
@@ -7618,7 +7628,7 @@ A jump table for the options with a short description can be found at |Q_op|.
display). Except for the Mac when 'macatsui' is off, then
'termencoding' should be "macroman".
*E617*
- Note: This does not apply to the GTK+ 2 GUI. After the GUI has been
+ Note: This does not apply to the GTK+ GUI. After the GUI has been
successfully initialized, 'termencoding' is forcibly set to "utf-8".
Any attempts to set a different value will be rejected, and an error
message is shown.
@@ -7901,7 +7911,7 @@ A jump table for the options with a short description can be found at |Q_op|.
'toolbariconsize' 'tbis' string (default "small")
global
{not in Vi}
- {only in the GTK+ 2 GUI}
+ {only in the GTK+ GUI}
Controls the size of toolbar icons. The possible values are:
tiny Use tiny icons.
small Use small icons (default).
diff --git a/runtime/doc/repeat.txt b/runtime/doc/repeat.txt
index e704681a4e..8f810536b1 100644
--- a/runtime/doc/repeat.txt
+++ b/runtime/doc/repeat.txt
@@ -1,4 +1,4 @@
-*repeat.txt* For Vim version 8.0. Last change: 2016 Sep 11
+*repeat.txt* For Vim version 8.0. Last change: 2017 Feb 06
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -305,6 +305,11 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
Mark) in utf-8 format Vim will recognize it, no need
to use ":scriptencoding utf-8" then.
+ If you set the 'encoding' option in your |.vimrc|,
+ `:scriptencoding` must be placed after that. E.g.: >
+ set encoding=utf-8
+ scriptencoding utf-8
+<
When compiled without the |+multi_byte| feature this
command is ignored.
{not in Vi}
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt
index e300983f08..7aaea9dc89 100644
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -1,4 +1,4 @@
-*syntax.txt* For Vim version 8.0. Last change: 2017 Jan 17
+*syntax.txt* For Vim version 8.0. Last change: 2017 Feb 06
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1476,7 +1476,7 @@ algorithm should work in the vast majority of cases. In some cases, such as a
file that begins with 500 or more full-line comments, the script may
incorrectly decide that the fortran code is in fixed form. If that happens,
just add a non-comment statement beginning anywhere in the first five columns
-of the first twenty five lines, save (:w) and then reload (:e!) the file.
+of the first twenty-five lines, save (:w) and then reload (:e!) the file.
Tabs in fortran files ~
Tabs are not recognized by the Fortran standards. Tabs are not a good idea in
@@ -2933,6 +2933,13 @@ reduce this, the "sh_maxlines" internal variable can be set. Example: >
The default is to use the twice sh_minlines. Set it to a smaller number to
speed up displaying. The disadvantage is that highlight errors may appear.
+syntax/sh.vim tries to flag certain problems as errors; usually things like
+extra ']'s, 'done's, 'fi's, etc. If you find the error handling problematic
+for your purposes, you may suppress such error highlighting by putting
+the following line in your .vimrc: >
+
+ let g:sh_no_error= 1
+<
*sh-embed* *sh-awk*
Sh: EMBEDDING LANGUAGES~
@@ -3235,11 +3242,11 @@ syntax highlighting script handles this with the following logic:
* If g:tex_stylish exists and is 1
then the file will be treated as a "sty" file, so the "_"
will be allowed as part of keywords
- (irregardless of g:tex_isk)
+ (regardless of g:tex_isk)
* Else if the file's suffix is sty, cls, clo, dtx, or ltx,
then the file will be treated as a "sty" file, so the "_"
will be allowed as part of keywords
- (irregardless of g:tex_isk)
+ (regardless of g:tex_isk)
* If g:tex_isk exists, then it will be used for the local 'iskeyword'
* Else the local 'iskeyword' will be set to 48-57,a-z,A-Z,192-255
diff --git a/runtime/doc/tabpage.txt b/runtime/doc/tabpage.txt
index bc40981094..e72388cbf7 100644
--- a/runtime/doc/tabpage.txt
+++ b/runtime/doc/tabpage.txt
@@ -139,6 +139,10 @@ something else.
:+tabclose " close the next tab page
:1tabclose " close the first tab page
:$tabclose " close the last tab page
+ :tabclose -2 " close the two previous tab page
+ :tabclose + " close the next tab page
+ :tabclose 3 " close the third tab page
+ :tabclose $ " close the last tab page
<
*:tabo* *:tabonly*
:tabo[nly][!] Close all other tab pages.
@@ -153,13 +157,20 @@ something else.
" one
:{count}tabo[nly][!]
- Close all tab pages except the {count}th one. >
+:tabo[nly][!] {count}
+ Close all tab pages except {count} one. >
:.tabonly " as above
:-tabonly " close all tab pages except the previous
" one
:+tabonly " close all tab pages except the next one
:1tabonly " close all tab pages except the first one
:$tabonly " close all tab pages except the last one
+ :tabonly - " close all tab pages except the previous
+ " one
+ :tabonly +2 " close all tab pages except the two next
+ " one
+ :tabonly 1 " close all tab pages except the first one
+ :tabonly $ " close all tab pages except the last one
SWITCHING TO ANOTHER TAB PAGE:
@@ -174,7 +185,20 @@ gt *i_CTRL-<PageDown>* *i_<C-PageDown>*
Go to the next tab page. Wraps around from the last to the
first one.
+:{count}tabn[ext]
:tabn[ext] {count}
+ Go to tab page {count}. The first tab page has number one. >
+ :-tabnext " go to the previous tab page
+ :+tabnext " go to the next tab page
+ :+2tabnext " go to the two next tab page
+ :1tabnext " go to the first tab page
+ :$tabnext " go to the last tab page
+ :tabnext $ " as above
+ :tabnext - " go to the previous tab page
+ :tabnext -1 " as above
+ :tabnext + " go to the next tab page
+ :tabnext +1 " as above
+
{count}<C-PageDown>
{count}gt Go to tab page {count}. The first tab page has number one.
diff --git a/runtime/doc/tags b/runtime/doc/tags
index f5a77ad638..025b298588 100644
--- a/runtime/doc/tags
+++ b/runtime/doc/tags
@@ -4498,6 +4498,7 @@ E935 eval.txt /*E935*
E936 autocmd.txt /*E936*
E937 autocmd.txt /*E937*
E938 eval.txt /*E938*
+E939 change.txt /*E939*
E94 windows.txt /*E94*
E95 message.txt /*E95*
E96 diff.txt /*E96*
@@ -6588,7 +6589,7 @@ gui-x11-various gui_x11.txt /*gui-x11-various*
gui.txt gui.txt /*gui.txt*
gui_w32.txt gui_w32.txt /*gui_w32.txt*
gui_x11.txt gui_x11.txt /*gui_x11.txt*
-guifontwide_gtk2 options.txt /*guifontwide_gtk2*
+guifontwide_gtk options.txt /*guifontwide_gtk*
guifontwide_win_mbyte options.txt /*guifontwide_win_mbyte*
guioptions_a options.txt /*guioptions_a*
guu change.txt /*guu*
diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt
index 56d858f0e5..5d12904b0d 100644
--- a/runtime/doc/todo.txt
+++ b/runtime/doc/todo.txt
@@ -1,4 +1,4 @@
-*todo.txt* For Vim version 8.0. Last change: 2017 Jan 28
+*todo.txt* For Vim version 8.0. Last change: 2017 Feb 17
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -35,6 +35,17 @@ entered there will not be repeated below, unless there is extra information.
*known-bugs*
-------------------- Known bugs and current work -----------------------
+Patch 195 introduced a regression in tag priority. (Charles Campbell, 2017 Feb
+10)
+
+Memory leak in test97?
+
+exists('&t_k1') returns false even when t_k1 was set.
+Use in test_assign.vim to only get value of &t_k1 if it exists. #1459
+
+test_gui fails with Athena:
+ Caught exception in Test_1_set_secure(): Vim(gui):E285: Failed to create input context @ function RunTheTest[21]..Test_1_set_secure, line 2
+
+channel:
- Try out background make plugin:
https://github.com/AndrewVos/vim-make-background
@@ -105,51 +116,77 @@ Regexp problems:
- Difference between two engines: ".*\zs\/\@>\/" on text "///"
(Chris Paul, 2016 Nov 13) New engine not greedy enough?
-'] mark invalid after undoing insert "hello".
-
-When using symbolic links, a package path will not be inserted at the right
-position in 'runtimepath'. (Dugan Chen, 2016 Nov 18)
+Add a toolbar in the terminal. Can be global, above all windows, or specific
+for one window.
+Use tb_set(winid, [{'text': 'stop', 'cb': callback, 'hi': 'Green'}])
+ tb_highlight(winid, 'ToolBar')
+ tb_get(winid)
json_encode(): should convert to utf-8. (Nikolai Pavlov, 2016 Jan 23)
What if there is an invalid character?
-Allow using json with empty key? Dict already has it.
-
Json string with trailing \u should be an error. (Lcd)
+Patch for double free setting 'ttytype' (Dominique, 2017 Feb 10, #1461)
+
+Patch for using uninitialized memory (Dominique, 2017 Feb 11, #1464)
+
+Patch for crash setting 'guicursor'. (Dominique, 2017 Feb 11, #1465)
+
Multi-byte bug: dv} splits char. (Urtica Dioica, 2017 Jan 9)
-Patch: Make mode() return "ix" or "Rx" when in completion mode.
-(Yegappan Lakshmanan, 2017 Jan 19, #1397, update Jan 22)
+Patch to add test for 'number' and 'relativenumber'. (Ozaki Kiichi, #1447)
+Now merged in test89 (Feb 12)
-With Visual selection of a multi-byte character the '] mark is on the last
-byte, should be first byte?
+Patch to fix tabline redraw. (Christian Brabandt, 2017 Feb 10)
+Better way to fix this?
When session file has name in argument list but the buffer was deleted, the
buffer is not deleted when using the session file. (#1393)
Should add the buffer in hidden state.
+Patch to change VimL to "Vim script". (Hirohito Higashi, 2017 Feb 14)
+
+Invalid memory access with :normal command. (Dominique Pelle, 2017 Feb 14)
+
+When "gf" excludes following ":99", jump to line 99.
+Also when editing a file foo.txt:99 ?
+
When an item in the quickfix list has a file name that does not exist, behave
like the item was not a match for :cnext.
+Patch for warning about integer overflow in undo.c (King, 2017 Feb 12)
+And another similar one.
+
+Patch for null pointer use in undo.c (King, 2017 Feb 12)
+
+Patch to avoid using CTRL-O when do_cmdline_cmd is called. (James McCoy, 2017
+Feb 7, #1453)
+
+Patch for multi-byte line wrap. (Ozaki Kiichi, 2017 Feb 7, #1456)
+
+Patch to show balloon with a function. (Jusufadis Bakamovic, #1449)
+
Wrong diff highlighting with three files. (2016 Oct 20, #1186)
Also get E749 on exit.
Another example in #1309
-Completion for user-defined commands does not work if a few chararacters were
+Completion for user-defined commands does not work if a few characters were
already typed. (Dominique, 2017 Jan 26)
+Patch for nsis script to add a dll file. (Christian Brabandt, 2017 Feb 10)
+Also include the .dll file?
+
+Patch for capitalizations in menus. (Zhen-Huan Hu, 2017 Feb 9)
+
When deleting a mark or register, leave a tombstone, so that it's also deleted
when writing viminfo (and the delete was the most recent action). #1339
-Relevant neovim patch:
-https://github.com/neovim/neovim/pull/5737#issuecomment-266055165
-
Patch for better explanation of 'compatible' side effects.
https://github.com/vim/vim/pull/1161/files
Patch to add 'makeencoding', useful when the system encoding differs from
-Vim's 'encoding' setting. (Ken Takata, 2017 Jan 6)
+Vim's 'encoding' setting. (Ken Takata, 2017 Jan 31)
Patch to adjust marks when adding a new line to the end of buffer in diff
mode. (James McCoy, 2016 Dec 14, #1329)
@@ -159,18 +196,37 @@ Suggestion to improve pt-br spell checking. (Marcelo D Montu, 2016 Dec 15,
Error in test_startup_utf8 on Solaris. (Danek Duvall, 2016 Aug 17)
+Patch to fix that test87 fails on Arch Linux. (Jesin, 2017 Feb 10)
+
+Completion for :!cmd shows each match twice. #1435
+
Rule to use "^" for statusline does not work if a space is defined with
highlighting for both stl and stlnc. Patch by Ken Hamada (itchyny, 2016 Dec 11)
8 "stl" and "stlnc" in 'fillchars' don't work for multi-byte characters.
Patch by Christian Wellenbrock, 2013 Jul 5.
+Using CTRL-G_U in InsertCharPre causes trouble for redo. (Israel Chauca
+Fuentes, 2017 Feb 12, #1470)
+
Screen updated delayed when using CTRL-O u in Insert mode.
(Barlik, #1191) Perhaps because status message?
Patch to add buffer name argument to taglist().
Ordering of tags in result of taglist call. (Duncan McDougall, #1194)
+Patch to fix that b_ind_has_comment is not correctly reset. (Christian
+Brabandt, 2017 Feb 14, closes #1475)
+
+writefile() does not abort as soon as an error is found. (Nikolai Pavlov,
+2017 Feb 14, #1476)
+
+Patch to support on-the-spot and over-the-spot input method. (Ken Takata, 2017
+Feb 14).
+
+Add a command to take a range of lines, filter them and put the output
+somewhere else. :{range}copy {dest} !cmd
+
Patch to fix that empty first tab is not in session.
(Hirohito Higashi, 2016 Nov 25, #1282)
@@ -184,6 +240,9 @@ The TermResponse event is not triggered when a plugin has set 'eventignore' to
"all". Netrw does this. (Gary Johnson, 2017 Jan 24)
Postpone the event until 'eventignore' is reset.
+Patch to make urxvt mouse work better, recognize Esc[*M termcap code.
+(Maurice Bos, 2017 Feb 17, #1486)
+
Once .exe with updated installer is available: Add remark to download page
about /S and /D options (Ken Takata, 2016 Apr 13)
Or point to nightly builds: https://github.com/vim/vim-win32-installer/releases
@@ -191,6 +250,11 @@ Or point to nightly builds: https://github.com/vim/vim-win32-installer/releases
Problem passing non-UTF-8 strings to Python 3. (Björn Linse, 2016 Sep 11,
#1053) With patch, does it work?
+Using --remote to open a file in which a # appears does not work on
+MS-Windows. Perhaps in \# the \ is seen as a path separator. (Axel Bender,
+2017 Feb 9) Can we expand wildcards first and send the path literally to the
+receiving Vim? Or make an exception for #, it's not useful remotely.
+
Use ADDR_OTHER instead of ADDR_LINES for many more commands.
Add tests for using number larger than number of lines in buffer.
@@ -228,6 +292,8 @@ Patch to add trim() function. (Bukn, 2016 Nov 25, #1280)
Patch to add MODIFIED_BY to MSVC build file. (Chen Lei, 2016 Nov 24, #1275)
+Patch to change argument of :marks. (LemonBoy, 2017 Jan 29, #1426)
+
On Windows buffer completion sees backslash as escape char instead of path
separator. (Toffanim, 2016 Nov 24, #1274)
@@ -265,7 +331,7 @@ change as a word boundary. (btucker-MPCData, 2016 Nov 6, #1235)
Idea from Sven: record sequence of keys. Useful to show others what they are
doing (look over the shoulder), and also to see what happened.
Probably list of keystrokes, with some annotations for mode changes.
-Could store in logfile to be able to analyise it with an external command.
+Could store in logfile to be able to analyse it with an external command.
E.g. to see when's the last time a plugin command was used.
execute() cannot be used with command completeion. (Daniel Hahler, 2016 Oct 1,
@@ -293,7 +359,7 @@ Also with latest version.
Cannot delete a file with square brackets with delete(). (#696)
Patch to add ":syn foldlevel" to use fold level further down the line.
-(Brad King, 2016 Oct 19)
+(Brad King, 2016 Oct 19, update 2017 Jan 30)
Completion for input() does not expand environment variables. (chdiza, 2016
Jul 25, #948)
diff --git a/runtime/doc/usr_03.txt b/runtime/doc/usr_03.txt
index 2c66172a4e..fe0e4b040e 100644
--- a/runtime/doc/usr_03.txt
+++ b/runtime/doc/usr_03.txt
@@ -182,7 +182,7 @@ the following:
This tells you that you might want to fix something on line 33. So how do you
find line 33? One way is to do "9999k" to go to the top of the file and "32j"
-to go down thi