A full set of 2-, 8-, 16-, 88-, 256-, and GUI-color-compatible Vim colors.
A full set of 1-, 8-, 16-, 88-, 256-, and GUI-color-compatible Vim colors. Aims to be bulletproof and obey terminal palette options and background
setting if present.
Codebase derived from jsit/vim-tomorrow-theme (which was derived from chriskempson/vim-tomorrow-theme)
g:disco_nobright
: If set to 1
, don't use bright colors. Default 0
.g:disco_red_error_only
: If set to 1
, only use the red color for
errors -- useful for terminal themes that intend to reserve this color for
that purpose, like Rainglow. Default 0
.g:disco_color_map
allow you to manually map any Disco color to a specific terminal
color. Example:
let g:disco_color_map = {
\'green': 'DarkYellow'
\'truered': 'DarkRed'
\}
The value (e.g. 'DarkYellow'
) should be taken from :h gui-colors
; the keys
(e.g., 'green'
) are as follows:
red
: High-contrast Red (against background)
green
: High-contrast Green
yellow
: High-contrast Yellow
blue
: High-contrast Blue
magenta
: High-contrast Magenta
cyan
: High-contrast Cyan
dimred
: Low-contrast Red (against background)
dimgreen
: Low-contrast Green
dimyellow
: Low-contrast Yellow
dimblue
: Low-contrast Blue
dimmagenta
: Low-contrast Magenta
dimcyan
: Low-contrast Cyan
bg
: Background color
fg
: Foreground (text) color
truered
: Actual red, if red is to be used only for errors
dim
: Low-contrast gray color, for Number
, CursorLine
background, etc.
dimtwo
: High-contrast gray color, for Comment
foreground etc.
brightyellow
: Background color for search results
These screenshots were made using iTerm2 with the specified
Color Presets, t_Co=256
, and no Vim plugins
Copyright (c) Jay Sitter. Distributed under the same terms as Vim itself. See :help license.