import { term_getansicolors } from "https://deno.land/x/denops_std@v4.1.5/function/vim/mod.ts";
Get the ANSI color palette in use by terminal {buf}.
Returns a List of length 16 where each element is a String
representing a color in hexadecimal "#rrggbb" format.
Also see term_setansicolors()
and g:terminal_ansi_colors
.
If neither was used returns the default colors.
{buf} is used as with term_getsize()
. If the buffer does not
exist or is not a terminal window, an empty list is returned.
Can also be used as a method
:
GetBufnr()->term_getansicolors()
only available when compiled with GUI enabled and/or the
+termguicolors
feature
Parameters
denops: Denops