docs: fix g:terminal_color_x terminal colors #22746
Based on this source code:
e789d65297/src/nvim/terminal.c (L271)
it only respects `vim.g.terminal_color_{i}` for i from 0 to 15 inclusive.
This commit is contained in:
parent
e789d65297
commit
434f3d6a03
|
@ -115,7 +115,7 @@ You can change the defaults with a TermOpen autocommand: >vim
|
|||
TERMINAL COLORS ~
|
||||
|
||||
The `{g,b}:terminal_color_x` variables control the terminal color palette,
|
||||
where `x` is the color index between 0 and 255 inclusive. The variables are
|
||||
where `x` is the color index between 0 and 15 inclusive. The variables are
|
||||
read during |TermOpen|. The value must be a color name or hexadecimal string.
|
||||
Example: >vim
|
||||
let g:terminal_color_4 = '#ff0000'
|
||||
|
|
Loading…
Reference in New Issue