aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeni Chasnovski <evgeni.chasnovski@gmail.com>2023-03-21 14:43:40 +0200
committerGitHub <noreply@github.com>2023-03-21 05:43:40 -0700
commit434f3d6a039401c856337926a788cd11d9dad027 (patch)
treef35d14696375cac928eee30af559ae6dee6b0bf4
parente789d652974226ce3a763e3052a7c3d9898d875e (diff)
downloadrneovim-434f3d6a039401c856337926a788cd11d9dad027.tar.gz
rneovim-434f3d6a039401c856337926a788cd11d9dad027.tar.bz2
rneovim-434f3d6a039401c856337926a788cd11d9dad027.zip
docs: fix g:terminal_color_x terminal colors #22746
Based on this source code: https://github.com/neovim/neovim/blob/e789d652974226ce3a763e3052a7c3d9898d875e/src/nvim/terminal.c#L271 it only respects `vim.g.terminal_color_{i}` for i from 0 to 15 inclusive.
-rw-r--r--runtime/doc/nvim_terminal_emulator.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/nvim_terminal_emulator.txt b/runtime/doc/nvim_terminal_emulator.txt
index 50a241f515..b98c96ec87 100644
--- a/runtime/doc/nvim_terminal_emulator.txt
+++ b/runtime/doc/nvim_terminal_emulator.txt
@@ -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'