doc: termopen(): remove 'name' feature.

This commit is contained in:
Justin M. Keyes 2015-08-30 17:15:21 -04:00
parent 79b6ab21d8
commit 7ee94d2dd7
2 changed files with 2 additions and 5 deletions

View File

@ -6473,9 +6473,7 @@ termopen({cmd}[, {opts}]) {Nvim} *termopen()*
The {opts} dict is similar to the one passed to |jobstart()|,
but the `pty`, `width`, `height`, and `TERM` fields are
ignored: `height`/`width` are taken from the current window
and `$TERM` is set to "xterm-256color", and it may have a
`name` field. `name`, if present, sets the buffer's name to
"term://{cwd}/{pid}:{name}".
and `$TERM` is set to "xterm-256color".
Returns the same values as |jobstart()|.
See |nvim-terminal-emulator| for more information.

View File

@ -212,8 +212,7 @@ g8 Print the hex values of the bytes used in the
equivalent to: >
:enew
:call termopen([&sh, &shcf, '{cmd}'],
\{'name':'{cmd}'})
:call termopen([&sh, &shcf, '{cmd}'])
:startinsert
<
If no {cmd} is given, 'shellcmdflag' will not be sent