summaryrefslogtreecommitdiffstats
path: root/runtime/doc/terminal.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-01-02 16:39:53 +0100
committerBram Moolenaar <Bram@vim.org>2021-01-02 16:39:53 +0100
commit7e6a515ed14e204fafb3dd6e98f2fb543e64aedd (patch)
tree75163fe37994ee84b512bbd8d833453583fd3bd8 /runtime/doc/terminal.txt
parent02faa944c69ea22a7a5338135b686dac2c946ca1 (diff)
Update runtime files.
Diffstat (limited to 'runtime/doc/terminal.txt')
-rw-r--r--runtime/doc/terminal.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/doc/terminal.txt b/runtime/doc/terminal.txt
index 08815ef8ce..195122910a 100644
--- a/runtime/doc/terminal.txt
+++ b/runtime/doc/terminal.txt
@@ -1,4 +1,4 @@
-*terminal.txt* For Vim version 8.2. Last change: 2020 Nov 25
+*terminal.txt* For Vim version 8.2. Last change: 2020 Dec 28
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -742,6 +742,9 @@ term_setapi({buf}, {expr}) *term_setapi()*
The default is "Tapi_". When {expr} is an empty string then
no |terminal-api| function can be used for {buf}.
+ When used as a method the base is used for {buf}: >
+ GetBufnr()->term_setapi({expr})
+
term_setansicolors({buf}, {colors}) *term_setansicolors()*
Set the ANSI color palette used by terminal {buf}.
{colors} must be a List of 16 valid color names or hexadecimal