comparison runtime/doc/gui_w32.txt @ 26057:92c424550367 v8.2.3562

patch 8.2.3562: cannot add color names Commit: https://github.com/vim/vim/commit/e30d10253fa634c4f60daa798d029245f4eed393 Author: Drew Vogel <dvogel@github> Date: Sun Oct 24 20:35:07 2021 +0100 patch 8.2.3562: cannot add color names Problem: Cannot add color names. Solution: Add the v:colornames dictionary. (Drew Vogel, closes https://github.com/vim/vim/issues/8761)
author Bram Moolenaar <Bram@vim.org>
date Sun, 24 Oct 2021 21:45:04 +0200
parents 5c98ea5f5d6e
children babd9f1dbe12
comparison
equal deleted inserted replaced
26056:977bbbf36908 26057:92c424550367
321 321
322 These extra colors are also available: 322 These extra colors are also available:
323 Gray, Grey, LightYellow, SeaGreen, Orange, Purple, SlateBlue, Violet, 323 Gray, Grey, LightYellow, SeaGreen, Orange, Purple, SlateBlue, Violet,
324 324
325 *rgb.txt* 325 *rgb.txt*
326 Additionally, colors defined by a "rgb.txt" file can be used. This file is 326 Additionally, colors defined by a default color list can be used. For more
327 well known from X11. A few lines from it: > 327 info see |:colorscheme|. These colors used to be defined in
328 328 $VIMRUNTIME/rgb.txt, now they are in |v:colornames| which is initialized from
329 255 218 185 peach puff 329 $VIMRUNTIME/colors/lists/default.vim.
330 205 133 63 peru
331 255 181 197 pink
332
333 This shows the layout of the file: First the R, G and B value as a decimal
334 number, followed by the name of the color. The four fields are separated by
335 spaces.
336
337 You can get an rgb.txt file from any X11 distribution. It is located in a
338 directory like "/usr/X11R6/lib/X11/". For Vim it must be located in the
339 $VIMRUNTIME directory. Thus the file can be found with "$VIMRUNTIME/rgb.txt".
340 330
341 ============================================================================== 331 ==============================================================================
342 *gui-w32-dialogs* *dialog* 332 *gui-w32-dialogs* *dialog*
343 6. Windows dialogs & browsers 333 6. Windows dialogs & browsers
344 334