|
1 | | -*builtin.txt* For Vim version 9.2. Last change: 2026 Jun 13 |
| 1 | +*builtin.txt* For Vim version 9.2. Last change: 2026 Jun 17 |
2 | 2 |
|
3 | 3 |
|
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar |
@@ -4044,20 +4044,20 @@ getbufvar({buf}, {varname} [, {def}]) *getbufvar()* |
4044 | 4044 |
|
4045 | 4045 |
|
4046 | 4046 | getbgcolor() *getbgcolor()* |
4047 | | - Returns a |List| describing the current background colour |
4048 | | - as [red, green, blue], each component in the range 0..255. |
| 4047 | + Returns a |List| describing the current background colour as |
| 4048 | + [red, green, blue], each component in the range 0..255. |
4049 | 4049 |
|
4050 | | - In the GUI (or with 'termguicolors' set) the value comes |
4051 | | - from the |hl-Normal| highlight group's background. In a |
4052 | | - terminal it comes from the OSC 11 response (also available |
4053 | | - as |v:termrbgresp|). |
| 4050 | + In the GUI (or with 'termguicolors' set) the value comes from |
| 4051 | + the |hl-Normal| highlight group's background. In a terminal |
| 4052 | + it comes from the OSC 11 response (also available as |
| 4053 | + |v:termrbgresp|). |
4054 | 4054 | Returns [] when no value is available, e.g. before the |
4055 | 4055 | terminal has answered the OSC 11 query, or when |hl-Normal| |
4056 | 4056 | has no background colour set. |
4057 | 4057 |
|
4058 | | - Useful when manually crafting RGB image data and you want |
4059 | | - to flatten alpha onto the same colour the terminal will |
4060 | | - actually display behind the image. |
| 4058 | + Useful when manually crafting RGB image data and you want to |
| 4059 | + flatten alpha onto the same colour the terminal will actually |
| 4060 | + display behind the image. |
4061 | 4061 |
|
4062 | 4062 | Return type: list<any> |
4063 | 4063 |
|
|
0 commit comments