-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimdoc.diff
More file actions
44 lines (40 loc) · 1.71 KB
/
Copy pathvimdoc.diff
File metadata and controls
44 lines (40 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
diff --git a/runtime/doc/terminal.txt b/runtime/doc/terminal.txt
index 01fd88ca6..99d9f3a4a 100644
--- a/runtime/doc/terminal.txt
+++ b/runtime/doc/terminal.txt
@@ -1,4 +1,4 @@
-*terminal.txt* For Vim version 9.2. Last change: 2026 Apr 06
+*terminal.txt* For Vim version 9.2. Last change: 2026 Jun 24
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -232,7 +232,7 @@ Command syntax ~
keys in the terminal window. For MS-Windows see the
++eof argument below.
- *term++close* *term++open*
+ *term++close* *term++noclose* *term++open*
Supported [options] are:
++close The terminal window will close
automatically when the job terminates.
@@ -1001,9 +1001,11 @@ term_start({cmd} [, {options}]) *term_start()*
terminal window, see |term_setkill()|
"term_finish" What to do when the job is finished:
"close": close any windows
+ "noclose": window will not be opened
"open": open window if needed
Note that "open" can be interruptive.
- See |term++close| and |term++open|.
+ See |term++close|, |term++noclose| and
+ |term++open|.
"term_opencmd" command to use for opening the window
when "open" is used for "term_finish";
must have "%d" where the buffer number
diff --git a/runtime/doc/version9.txt b/runtime/doc/version9.txt
index ecde25876..310e9e695 100644
--- a/runtime/doc/version9.txt
+++ b/runtime/doc/version9.txt
@@ -52657,6 +52657,7 @@ Other ~
not drop leading spaces |stl-%0{|.
- Generated Session and View files are written in Vim9 script, see |:mksession|,
|:mkview| and |:mkvimrc|
+- The "term_finish" option of term_start() supports a "noclose" value.
Platform specific ~
-----------------