Update runtime files.
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index b8ab0f3..6408165 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -8013,7 +8013,7 @@
|submatch()| returns. Example: >
:echo substitute(s, '%\(\x\x\)', {m -> '0x' . m[1]}, 'g')
-swapinfo({fname}) swapinfo()
+swapinfo({fname}) *swapinfo()*
The result is a dictionary, which holds information about the
swapfile {fname}. The available fields are:
version VIM version
diff --git a/runtime/doc/gui_x11.txt b/runtime/doc/gui_x11.txt
index 6b7a773..a95b9fd 100644
--- a/runtime/doc/gui_x11.txt
+++ b/runtime/doc/gui_x11.txt
@@ -376,8 +376,8 @@
distribution.
For GTK+ 3, an effect similar to the above can be obtained by adding the
-following snippet of CSS code to $XDG_HOME_DIR/gtk-3.0/gtk.css (usually,
-$HOME/.config/gtk-3.0/gtk.css):
+following snippet of CSS code to $XDG_HOME_DIR/gtk-3.0/gtk.css (see the next
+section):
For GTK+ 3 < 3.20: >
@@ -408,6 +408,10 @@
GTK+ uses CSS for styling and layout of widgets. In this subsection, we'll
have a quick look at GTK+ CSS through simple, illustrative examples.
+You can usually edit the config with: >
+ vim $HOME/.config/gtk-3.0/gtk.css
+
+
Example 1. Empty Space Adjustment ~
By default, the toolbar and the tabline of the GTK+ 3 GUI are somewhat larger
@@ -492,6 +496,16 @@
in mind always when you try improving a theme.
+Example 3. border color
+
+To eliminate borders when maximized: >
+
+ @define-color bg_color #1B2B34;
+ #vim-main-window {
+ background-color: @bg_color;
+ }
+
+
Using Vim as a GTK+ plugin ~
*gui-gtk-socketid*
When the GTK+ version of Vim starts up normally, it creates its own top level
diff --git a/runtime/doc/if_pyth.txt b/runtime/doc/if_pyth.txt
index d21de4b..a93f3cb 100644
--- a/runtime/doc/if_pyth.txt
+++ b/runtime/doc/if_pyth.txt
@@ -82,6 +82,18 @@
:pydo return "%s\t%d" % (line[::-1], len(line))
:pydo if line: return "%4d: %s" % (linenr, line)
<
+One can use `:pydo` in possible conjunction with `:py` to filter a range using
+python. For example: >
+
+ :py3 << EOF
+ needle = vim.eval('@a')
+ replacement = vim.eval('@b')
+
+ def py_vim_string_replace(str):
+ return str.replace(needle, replacement)
+ EOF
+ :'<,'>py3do return py_vim_string_replace(line)
+<
*:pyfile* *:pyf*
:[range]pyf[ile] {file}
Execute the Python script in {file}. The whole
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 9d2d6bf..b5e9626 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -846,6 +846,8 @@
'{A-Z0-9}, or `{A-Z0-9} command takes one to another file.
Note that for some commands the 'autowrite' option is not used, see
'autowriteall' for that.
+ Some buffers will not be written, specifically when 'buttype' is
+ "nowrite", "nofile", "terminal" or "prompt".
*'autowriteall'* *'awa'* *'noautowriteall'* *'noawa'*
'autowriteall' 'awa' boolean (default off)
diff --git a/runtime/doc/tags b/runtime/doc/tags
index 75615fe..9f6f3bd 100644
--- a/runtime/doc/tags
+++ b/runtime/doc/tags
@@ -5408,6 +5408,7 @@
catch-text eval.txt /*catch-text*
cc change.txt /*cc*
ceil() eval.txt /*ceil()*
+cfilter-plugin quickfix.txt /*cfilter-plugin*
ch.vim syntax.txt /*ch.vim*
ch_canread() eval.txt /*ch_canread()*
ch_close() eval.txt /*ch_close()*
@@ -8659,6 +8660,7 @@
swapchoice-variable eval.txt /*swapchoice-variable*
swapcommand-variable eval.txt /*swapcommand-variable*
swapfile-changed version4.txt /*swapfile-changed*
+swapinfo() eval.txt /*swapinfo()*
swapname-variable eval.txt /*swapname-variable*
sybase ft_sql.txt /*sybase*
syn-sync-grouphere syntax.txt /*syn-sync-grouphere*
@@ -9639,6 +9641,7 @@
windowsme os_win32.txt /*windowsme*
winheight() eval.txt /*winheight()*
winid windows.txt /*winid*
+winlayout() eval.txt /*winlayout()*
winline() eval.txt /*winline()*
winnr() eval.txt /*winnr()*
winrestcmd() eval.txt /*winrestcmd()*
diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt
index 818cb37..38773e0 100644
--- a/runtime/doc/todo.txt
+++ b/runtime/doc/todo.txt
@@ -43,6 +43,7 @@
- :s/foo using CTRL-G moves to another line, should not happen, or use the
correct line (it uses the last but one line) (Lifepillar, Aug 18, #3345)
- Also support range: :/foo/,/bar/delete
+- Also support for user command, e.g. Cfilter
- :%s/foo should take the first match below the cursor line, unless there
isn't one?
Then :%s?foo should take the first match above the cursor line.
@@ -109,27 +110,12 @@
files that source the actual file. E.g. menu_da_de -> menu_da
Include part of #3242?
-Using ":file" in quickfix window during an autocommand doesn't work.
-(Jason Franklin, 2018 May 23) Allow for using it when there is no argument.
-Patch should now work. (Jason Franklin, 2018 Aug 12)
-
-Include Chinese-Taiwan translations. (bystar, #3261)
-
-Screendump test fails even though characters are the same.
-Some attribute difference that isn't included in the screenshot?
-(Elimar Riesebieter, 2018 Aug 21)
-
Completion mixes results from the current buffer with tags and other files.
Happens when typing CTRL-N while still search for results. E.g., type "b_" in
terminal.c and then CTRL-N twice.
Should do current file first and not split it up when more results are found.
(Also #1890)
-Patch to support VTP better. (Nobuhiro Takasaki, 2018 Aug 19, #3347)
-
-Patch with improvement for ccomplete: #3350
-Try it out. Perhaps write a test?
-
More warnings from static analysis:
https://lgtm.com/projects/g/vim/vim/alerts/?mode=list
@@ -195,8 +181,22 @@
Set g:actual_curbuf when evaluating 'statusline', not just with an expression.
(Daniel Hahler, 2018 Aug 8, #3299)
+Using an external diff is inefficient. Not all systems have a good diff
+program available (esp. MS-Windows). Would be nice to have in internal diff
+implementation. Can then also use this for displaying changes within a line.
+Olaf Dabrunz is working on this. (10 Jan 2016)
+9 Instead invoking an external diff program, use builtin code. One can be
+ found here: http://www.ioplex.com/~miallen/libmba/dl/src/diff.c
+ It's complicated and badly documented.
+Alternative: use the xdiff library. Unfinished Patch from Christian Brabandt,
+2018 Mar 20, #2732)
+
Difference between two regexp engines: #3373
+Patch to add arguments to argc() and argv(). (Yegappan Lakshmanan, 2016 Jan
+24, #832) Also need a way to get the global arg list? Update later on Jan 24
+Update Mar 5. Update Apr 7. Update Jun 5.
+
When the last line wraps, selecting with the mouse below that line only
includes the first screen line. (2018 Aug 23, #3368)
@@ -245,6 +245,9 @@
Also see #2352, want better control over balloon, perhaps set the position.
Should also be possible to add highlighting, like in the status line?
+Patch to fix that executable() may fail on very long filename in MS-Windows.
+(Ken Takata, 2016 Feb 1)
+
Try out background make plugin:
https://github.com/AndrewVos/vim-make-background
or asyncmake:
@@ -430,16 +433,6 @@
Invalid range error when using BufWinLeave for closing terminal.
(Gabriel Barta, 2017 Nov 15, #2339)
-Using an external diff is inefficient. Not all systems have a good diff
-program available (esp. MS-Windows). Would be nice to have in internal diff
-implementation. Can then also use this for displaying changes within a line.
-Olaf Dabrunz is working on this. (10 Jan 2016)
-9 Instead invoking an external diff program, use builtin code. One can be
- found here: http://www.ioplex.com/~miallen/libmba/dl/src/diff.c
- It's complicated and badly documented.
-Alternative: use the xdiff library. Unfinished Patch from Christian Brabandt,
-2018 Mar 20, #2732)
-
ml_get errors with buggy script. (Dominique, 2017 Apr 30)
Error in emsg with buggy script. (Dominique, 2017 Apr 30)
@@ -1128,9 +1121,6 @@
6, 2nd message)
Alternative: ":keeppos" command modifier: ":keeppos windo {cmd}".
-Patch to fix that executable() may fail on very long filename in MS-Windows.
-(Ken Takata, 2016 Feb 1)
-
Patch to fix display of listchars on the cursorline. (Nayuri Aohime, 2013)
Update suggested by Yasuhiro Matsumoto, 2014 Nov 25:
https://gist.github.com/presuku/d3d6b230b9b6dcfc0477
@@ -1192,10 +1182,6 @@
Build with Python on Mac does not always use the right library.
(Kazunobu Kuriyama, 2015 Mar 28)
-Patch to add arguments to argc() and argv(). (Yegappan Lakshmanan, 2016 Jan
-24) Also need a way to get the global arg list? Update later on Jan 24
-Update Mar 5. Update Apr 7. Update Jun 5.
-
To support Thai (and other languages) word boundaries, include the ICU
library: http://userguide.icu-project.org/boundaryanalysis