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:
Evgeni Chasnovski 2023-03-21 14:43:40 +02:00 committed by GitHub
parent e789d65297
commit 434f3d6a03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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'