@@ -4747,6 +4747,8 @@ getwininfo([{winid}]) *getwininfo()*
47474747 {only with the +quickfix feature}
47484748 quickfix 1 if quickfix or location list window
47494749 {only with the +quickfix feature}
4750+ terminal 1 if a terminal window
4751+ {only with the +terminal feature}
47504752 tabnr tab page number
47514753 variables a reference to the dictionary with
47524754 window-local variables
@@ -7023,7 +7025,10 @@ setqflist({list} [, {action}[, {what}]]) *setqflist()*
70237025 freed.
70247026
70257027 If {action} is not present or is set to ' ', then a new list
7026- is created.
7028+ is created. The new quickfix list is added after the current
7029+ quickfix list in the stack and all the following lists are
7030+ freed. To add a new quickfix list at the end of the stack,
7031+ set "nr" in {what} to '$'.
70277032
70287033 If the optional {what} dictionary argument is supplied, then
70297034 only the items listed in {what} are set. The first {list}
@@ -7939,13 +7944,19 @@ term_getattr({attr}, {what}) *term_getattr()*
79397944
79407945term_getcursor({buf} ) *term_getcursor()*
79417946 Get the cursor position of terminal {buf} . Returns a list with
7942- three numbers: [rows, cols, visible]. "rows" and "cols" are
7943- one based, the first screen cell is row 1, column 1.
7944- "visible" is one when the cursor is visible, zero when it is
7945- hidden.
7947+ two numbers and a dictionary: [rows, cols, dict].
79467948
7947- This is the cursor position of the terminal itself, not of the
7948- Vim window.
7949+ "rows" and "cols" are one based, the first screen cell is row
7950+ 1, column 1. This is the cursor position of the terminal
7951+ itself, not of the Vim window.
7952+
7953+ "dict" can have these members:
7954+ "visible" one when the cursor is visible, zero when it
7955+ is hidden.
7956+ "blink" one when the cursor is visible, zero when it
7957+ is hidden.
7958+ "shape" 1 for a block cursor, 2 for underline and 3
7959+ for a vertical bar.
79497960
79507961 {buf} must be the buffer number of a terminal window. If the
79517962 buffer does not exist or is not a terminal window, an empty
@@ -8035,7 +8046,7 @@ term_scrape({buf}, {row}) *term_scrape()*
80358046 "fg" foreground color as #rrggbb
80368047 "bg" background color as #rrggbb
80378048 "attr" attributes of the cell, use | term_getattr() |
8038- to get the individual flags
8049+ to get the individual flags
80398050 "width" cell width: 1 or 2
80408051 {only available when compiled with the | +terminal | feature}
80418052
@@ -8075,7 +8086,7 @@ term_start({cmd}, {options}) *term_start()*
80758086 "term_rows" vertical size to use for the terminal,
80768087 instead of using 'termsize'
80778088 "term_cols" horizontal size to use for the terminal,
8078- instead of using 'termsize'
8089+ instead of using 'termsize'
80798090 "vertical" split the window vertically
80808091 "curwin" use the current window, do not split the
80818092 window; fails if the current buffer
@@ -8085,6 +8096,12 @@ term_start({cmd}, {options}) *term_start()*
80858096 "open": open window if needed
80868097 Note that "open" can be interruptive.
80878098 See | term++close | and | term++open | .
8099+ "term_opencmd" command to use for opening the window when
8100+ "open" is used for "term_finish"; must
8101+ have "%d" where the buffer number goes,
8102+ e.g. "10split|buffer %d"; when not
8103+ specified "botright sbuf %d" is used
8104+
80888105 {only available when compiled with the | +terminal | feature}
80898106
80908107term_wait({buf} [, {time} ]) *term_wait()*
@@ -8159,7 +8176,7 @@ test_override({name}, {val}) *test_override()*
81598176 in a way that the test doesn't work properly.
81608177 When using: >
81618178 call test_override('starting', 1)
8162- < The value of "starting" is saved. It is restored by: >
8179+ < The value of "starting" is saved. It is restored by: >
81638180 call test_override('starting', 0)
81648181
81658182 test_settime({expr} ) *test_settime()*
0 commit comments