Update runtime files.
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 141f586..6a0013a 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 Apr 29
+*eval.txt* For Vim version 8.0. Last change: 2017 May 02
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -10692,12 +10692,6 @@
"while 0". Without the |+eval| feature the "while 0" is an error, which is
silently ignored, and the command is executed.
-The "<CR>" here is a real CR character, type CTRL-V Enter to get it.
-
-When the |+eval| feature is available the ":" is remapped to add a double
-quote, which has the effect of commenting-out the command. Without the
-|+eval| feature the nnoremap command is skipped and the command is executed.
-
==============================================================================
11. The sandbox *eval-sandbox* *sandbox* *E48*
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 927931c..c6fc424 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 Mar 22
+*options.txt* For Vim version 8.0. Last change: 2017 May 08
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -862,6 +862,12 @@
< Vim will guess the value. In the GUI this should work correctly,
in other cases Vim might not be able to guess the right value.
+ When the t_BG option is set, Vim will use it to request the background
+ color from the terminal. If the returned RGB value is dark/light and
+ 'background' is not dark/light, 'background' will be set and the
+ screen is redrawn. This may have side effects, make t_BG empty in
+ your .vimrc if you suspect this problem.
+
When starting the GUI, the default value for 'background' will be
"light". When the value is not set in the .gvimrc, and Vim detects
that the background is actually quite dark, 'background' is set to
@@ -2700,7 +2706,7 @@
Makes the 'g' and 'c' flags of the ":substitute" command to be
toggled each time the flag is given. See |complex-change|. See
also 'gdefault' option.
- Switching this option on is discouraged!
+ Switching this option on may break plugins!
*'emoji'* *'emo'* *'noemoji'* *'noemo'*
'emoji' 'emo' boolean (default: on)
diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt
index 0736ada..eda32c5 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 Apr 28
+*todo.txt* For Vim version 8.0. Last change: 2017 May 27
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -35,13 +35,9 @@
*known-bugs*
-------------------- Known bugs and current work -----------------------
-Remove the Farsi code?
-
+channel:
-- job_stop() should not always close the channel, e.g. for "int".
- (Martin Gammelsæter, 2017 Apr 11, #1632)
- Only assume killed on "kill".
- Check job->jv_status not to be JOB_ENDED.
+- When redrawing for the channel buffer, command line completion is cleared.
+ (Ramel Eshed, 2017 May 4)
- Try out background make plugin:
https://github.com/AndrewVos/vim-make-background
- Problem with stderr on Windows? (Vincent Rischmann, 2016 Aug 31, #1026)
@@ -110,13 +106,102 @@
had_endbrace[] is set but not initialized or used.
- Difference between two engines: ".*\zs\/\@>\/" on text "///"
(Chris Paul, 2016 Nov 13) New engine not greedy enough?
+ Another one: echom matchstr(" sdfsfsf\n sfdsdfsdf",'[^\n]*')
+ (2017 May 15, #1252)
With foldmethod=syntax and nofoldenable comment highlighting isn't removed.
(Marcin Szewczyk, 2017 Apr 26)
+Patch for Murphy filetype detection. (Matthew Fernandez, 2017 May 17)
+
+ZoomWin plugin ratings went down a lot. Bot problem? (Charles Campbell, 2017
+May 18)
+
+ml_get errors with buggy script. (Dominique, 2017 Apr 30)
+
+Error in emsg with buggy script. (Dominique, 2017 Apr 30)
+
+Patch to update 'runtimepath' earlier. (Ingo Karkat, 2017 May 5, #1680)
+
+Patch to make float2nr() more accurate. (Hirohito Higashi, 2017 May 7, #1688)
+
+Patch to make :hardcopy handle spaces correctly. (Christian Brabandt, 2017 May
+7, #1682)
+
+Add options_default() / options_restore() to set several options to Vim
+defaults for a plugin. Comments from Zyx, 2017 May 10.
+Perhaps use a vimcontext / endvimcontext command block.
+
+Patch to recognize 'bg' detection. (Lemonboy, 2017 May 18, #1710)
+
+Patch to recognize 1.0 as a whole as a float. (Yasuhiro Matsumoto, 2017 May
+11)
+
+Problem with three-piece comment. (Michael Lee, 2017 May 11, #1696)
+
+When checking if a bufref is valid, also check the buffer number, to catch the
+case of :bwipe followed by :new.
+
+Files for Latvian language. (Vitolins, 2017 May 3, #1675)
+
+Adding a filetype in a "start" package is not picked up as expected.
+(comment by Ingo Karkat, #1679)
+Patch for a fix, Ingo Karkat, #1693.
+
+Patch to fix character class detection in NFA engine.
+(James McCoy, 2017 May 12, update May 24, #1703)
+
+Setting 'clipboard' to "unnamed" makes a global command very slow (Daniel
+Drucker, 2017 May 8).
+This was supposed to be fixed, did it break again somehow?
+Christian cannot reproduce it.
+
+Better TeX indent file. (Christian Brabandt, 2017 May 3)
+
+Openhab syntax file (mueller, #1678)
+
+Followup patch for 8.0.0590 for "context" in locations. (Yegappan, 2017 May 4)
+
+Use gvimext.dll from the nightly build? (Issue #249)
+
+Patch to remove HAVE_GTK_MULTIHEAD-relevant code. (Kazunobu Kuriyama, 2017 May
+5) Update May 11
+
+Problem with using :cd when remotely editing a file. (Gerd Wachsmuth, 2017 May
+8, #1690)
+
+'equalalways' only works for one column. (Glacambre, 2017 May 15, #1707)
+
+Include solarized color scheme?
+
+Updates to GTK help. (Kazunobu Kuriyama, 2017 May 4)
+
Running test_gui and test_gui_init with Motif sometimes kills the window
manager. Problem with Motif?
+Bogus characters inserted when triggering indent while changing text.
+(Vitor Antunes, 2016 Nov 22, #1269)
+
+Patch to have ":stag" respect 'switchbuf'. (Ingo Karkat, 2017 May 5, #1681)
+
+Wrong selection of quoted text (Guraga, #1687)
+Patch to fix selection of quoted text. (Christian Brabandt, 2017 May 7, #1687)
+
+Patch to use separate error message for regex range. (Itchyny, Ken Hamada,
+2017 May 16)
+
+Segmentation fault with complete(). (Lifepillar, 2017 Apr 29, #1668)
+Check for "pat" to be NULL in search_for_exact_line()?
+How did it get NULL? Comment by Christian, Apr 30.
+
+Is it possible to keep the complete menu open when calling complete()?
+(Prabir Shrestha, 2017 May 19, #1713)
+
+Calling may_req_ambiguous_char_width() and may_req_bg_color() only after
+executing command line commands may not work properly.
+Set "starting" to 0 earlier, and move the may_req calls above exe_commands()?
+(Rastislav Barlink, 2017 May 18)
+
Memory leak in test97? The string is actually freed. Weird.
Patch for shellescape(). (Christian Brabandt, 2017 Apr 20, #1590)
@@ -127,6 +212,26 @@
Add a toolbar in the terminal. Can be global, above all windows, or specific
for one window.
+
+Make maparg() also return the raw rhs, so that it doesn't depend on 'cpo'.
+(Brett Stahlman, 2017 May 23)
+Even better: add a way to disable a mapping temporarily and re-enable it
+later. This is for a sub-mode that is active for a short while (one buffer).
+Still need maplist() to find the mappings. What can we use to identify a
+mapping? Something unique would be better than the LHS.
+
+Patch to support chinese wordcount in utf-8. (Rain, 2017 May 24, #1722)
+Or not?
+
+"gn" selects one character instead of the searched text. (keyboardfire, #1683)
+Patch by Christian, 2017 May 7.
+
+Wrong memory access using p_fdm, found in patch to add tests for diff mode
+(#1658) (Dominique Pelle, 2017 May 6)
+
+Patch to improve test coverage for diff mode. (Dominique Pelle, 2017 May 11,
+#1685)
+
Use tb_set(winid, [{'text': 'stop', 'cb': callback, 'hi': 'Green'}])
tb_highlight(winid, 'ToolBar')
tb_get(winid)
@@ -194,6 +299,10 @@
Patch to support on-the-spot and over-the-spot input method. (Ken Takata, 2017
Feb 14).
+Change the Farsi code to work with UTF-8. Possibly combined with the Arabic
+support, or similar.
+Invalid read error in Farsi mode. (Dominique Pelle, 2009 Aug 2)
+
Add a command to take a range of lines, filter them and put the output
somewhere else. :{range}copy {dest} !cmd
@@ -369,15 +478,9 @@
'hlsearch' interferes with a Conceal match. (Rom Grk, 2016 Aug 9)
-Patch to add context information to quickfix/location list. (Yegappan
-Lakshmanan, 2016 Aug 25, #1012)
-
MS-Windows: use WS_HIDE instead of SW_SHOWMINNOACTIVE in os_win32.c?
Otherwise task flickers in taskbar.
-Bogus characters inserted when triggering indent while changing test.
-(Vitor Antunes, 2016 Nov 22, #1269)
-
Should make ":@r" handle line continuation. (Cesar Romani, 2016 Jun 26)
Also for ":@.".
@@ -444,6 +547,8 @@
Patch to improve indenting for C++ constructor with initializer list.
(Hirohito Higashi, 2016 Mar 31)
+Zero-out krypt key information when no longer in use. (Ben Fritz, 2017 May 15)
+
Add stronger encryption. Could use libsodium (NaCl).
https://github.com/jedisct1/libsodium/
Possibly include the needed code so that it can be build everywhere.
@@ -1519,8 +1624,6 @@
not a string. (Sean Ma) Need to add flag to call_func_retlist() to force a
string value.
-Invalid read error in Farsi mode. (Dominique Pelle, 2009 Aug 2)
-
For running gvim on a USB stick: avoid the OLE registration. Use a command
line argument -noregister.
diff --git a/runtime/doc/usr_44.txt b/runtime/doc/usr_44.txt
index 658c72f..09de577 100644
--- a/runtime/doc/usr_44.txt
+++ b/runtime/doc/usr_44.txt
@@ -1,4 +1,4 @@
-*usr_44.txt* For Vim version 8.0. Last change: 2008 Dec 28
+*usr_44.txt* For Vim version 8.0. Last change: 2017 May 06
VIM USER MANUAL - by Bram Moolenaar
@@ -686,7 +686,7 @@
you include two files.
If you want your syntax file to work with Vim 5.x, add a check for v:version.
-See yacc.vim for an example.
+Find an syntax file in the Vim 7.2 distribution for an example.
Do not include anything that is a user preference. Don't set 'tabstop',
'expandtab', etc. These belong in a filetype plugin.
diff --git a/runtime/doc/version8.txt b/runtime/doc/version8.txt
index 09285c6..e0e8f0e 100644
--- a/runtime/doc/version8.txt
+++ b/runtime/doc/version8.txt
@@ -15117,7 +15117,7 @@
Patch 8.0.0101
Problem: Some options are not strictly checked.
-Solution: Add flags for strickter checks.
+Solution: Add flags for stricter checks.
Files: src/option.c
Patch 8.0.0102 (after 8.0.0101)
@@ -15766,7 +15766,7 @@
Files: src/misc1.c
Patch 8.0.0212
-Problem: The buffer used to store a key name theoreticaly could be too
+Problem: The buffer used to store a key name theoretically could be too
small. (Coverity)
Solution: Count all possible modifier characters. Add a check for the
length just in case.
@@ -15834,7 +15834,7 @@
Patch 8.0.0223
Problem: Coverity gets confused by the flags passed to find_tags() and
- warnts for an uninitialized variable.
+ warns about uninitialized variable.
Solution: Disallow using cscope and help tags at the same time.
Files: src/tag.c
@@ -15955,7 +15955,7 @@
Patch 8.0.0243
Problem: When making a character lower case with tolower() changes the byte
- cound, it is not made lower case.
+ count, it is not made lower case.
Solution: Add strlow_save(). (Dominique Pelle, closes #1406)
Files: src/evalfunc.c, src/misc2.c, src/proto/misc2.pro,
src/testdir/test_functions.vim
@@ -16032,9 +16032,9 @@
src/proto/mbyte.pro
Patch 8.0.0253
-Problem: When creating a session when winminheight is 2 or larger and
+Problem: When creating a session when 'winminheight' is 2 or larger and
loading that session gives an error.
-Solution: Also set winminheight before setting winheight to 1. (Rafael
+Solution: Also set 'winminheight' before setting 'winheight' to 1. (Rafael
Bodill, neovim #5717)
Files: src/ex_docmd.c, src/testdir/test_mksession.vim
@@ -16541,7 +16541,7 @@
Files: src/search.c, src/testdir/test_visual.vim
Patch 8.0.0340
-Problem: Not checking return valud of dict_add(). (Coverity)
+Problem: Not checking return value of dict_add(). (Coverity)
Solution: Handle a failure.
Files: src/buffer.c
@@ -16612,12 +16612,12 @@
Patch 8.0.0352
Problem: The condition for when a typval needs to be cleared is too
complicated.
-Solution: Init the type to VAR_UNKNOWN and clear it always.
+Solution: Init the type to VAR_UNKNOWN and always clear it.
Files: src/eval.c
Patch 8.0.0353
Problem: If [RO] in the status line is translated to a longer string, it is
- trunctted to 4 bytes.
+ truncated to 4 bytes.
Solution: Skip over the resulting string. (Jente Hidskes, closes #1499)
Files: src/screen.c
@@ -17294,7 +17294,7 @@
Patch 8.0.0461 (after 8.0.0457)
Problem: Test 45 hangs on MS-Windows.
-Solution: Reset 'shiftwidth'. Also remove redundent function.
+Solution: Reset 'shiftwidth'. Also remove redundant function.
Files: src/fold.c, src/testdir/test45.in
Patch 8.0.0462
@@ -17597,7 +17597,7 @@
Files: README.md
Patch 8.0.0511
-Problem: Menuage for skipping client-server tests is unclear.
+Problem: Message for skipping client-server tests is unclear.
Solution: Be more specific about what's missing (Hirohito Higashi, Kazunobu
Kuriyama)
Files: src/testdir/test_quotestar.vim, src/testdir/test_clientserver.vim
@@ -17688,7 +17688,7 @@
Files: src/search.c, src/testdir/test_normal.vim
Patch 8.0.0524 (after 8.0.0518)
-Problem: Folds are messed up when 'encodin' is "utf-8".
+Problem: Folds are messed up when 'encoding' is "utf-8".
Solution: Also set the fold character when it's not multi-byte.
Files: src/screen.c, src/testdir/test_display.vim
@@ -17882,7 +17882,7 @@
Files: src/testdir/test_syntax.vim
Patch 8.0.0559
-Problem: Setting ttytype to xxx does not always fail as expected. (Marvin
+Problem: Setting 'ttytype' to xxx does not always fail as expected. (Marvin
Schmidt)
Solution: Catch both possible errors. (closes #1601)
Files: src/testdir/test_options.vim
@@ -17919,7 +17919,7 @@
Files: src/quickfix.c
Patch 8.0.0566
-Problem: Setting nocompatible for the tiny version moves the cursor.
+Problem: Setting 'nocompatible' for the tiny version moves the cursor.
Solution: Use another trick to skip commands when the +eval feature is
present. (Christian Brabandt, closes #1630)
Files: runtime/defaults.vim
@@ -17938,7 +17938,7 @@
Patch 8.0.0569
Problem: Bracketed paste is still enabled when executing a shell command.
(Michael Smith)
-Solution: Disable brackted paste when going into cooked mode. (closes #1638)
+Solution: Disable bracketed paste when going into cooked mode. (closes #1638)
Files: src/term.c
Patch 8.0.0570
@@ -17978,7 +17978,7 @@
Files: src/misc1.c, src/testdir/test_options.vim
Patch 8.0.0576 (after 8.0.0570 and 8.0.0573)
-Problem: Can't build when configure choses "install-sh". (Daniel Hahler)
+Problem: Can't build when configure chooses "install-sh". (Daniel Hahler)
Solution: Always use install-sh. Fix remaining use of mkinstalldirs.
(closes #1647)
Files: src/installman.sh, src/installml.sh, src/config.mk.in,