@@ -402,32 +402,23 @@ top of the screen, you can set |MMNonNativeFullScreenShowMenu| to `NO` and
402402==============================================================================
4034035. Special colors *macvim-colors*
404404
405- The colors in MacVim are defined in two dictionaries inside the "Resources"
406- folder of the application bundle (MacVim.app/Contents/Resources). It is
407- possible to add more colors by modifying these files. Color names are case
408- insensitive when accessed from Vim, but in the dictionary they must be
409- lowercase.
405+ MacVim mostly uses standard Vim colors. See | gui-colors | and | v:colornames |
406+ for how to set and override them.
410407
411408 *SystemColors.plist*
412- There are only a few system colors that can be accessed from Vim. These
413- colors are defined in the dictionary "SystemColors.plist". This dictionary
414- stores (key, value) pairs where the key is the name of the color and the
415- value is an NSColor selector name.
416-
417- The most useful system colors are: >
418- MacSelectedTextBackgroundColor
419- MacSecondarySelectedColor
420- The former is the "Highlight Color" which can be changed in the "Appearance"
421- section of the System Settings. The latter is the selection color used by
422- a Cocoa application when it is not in focus.
423-
424- *Colors.plist*
425- Apart from the system colors, it is also possible to use the standard X11
426- color names (see https://en.wikipedia.org/wiki/X11_color_names ) which usually
427- come in a file called "rgb.txt". MacVim does not have such a file, instead it
428- keeps these colors in a dictionary called "Colors.plist". The key in this
429- dictionary is the name of the color and the value is an RGB value on the form
430- #rrggbb stored as an integer.
409+ There are a few additional system colors that can be used in the | :hi |
410+ command. These colors are defined in the dictionary "SystemColors.plist" in
411+ the MacVim.app bundle. These color values correspond to NSColor selectors in
412+ macOS. The available color names are:
413+
414+ KEY VALUE ~
415+ MacSecondarySelectedControlColor Selection color when app is not in
416+ focus.
417+ MacSelectedTextBackgroundColor "Highlight Color" which can be changed
418+ in the "Appearance" section of System
419+ Settings.
420+ MacTextBackgroundColor Normal text background color.
421+ MacTextColor Normal text color.
431422
432423 *macvim-colorscheme*
433424MacVim ships with a custom color scheme that is used instead of the default
0 commit comments