Skip to content

defaults: improved default color scheme #14790

@clason

Description

@clason

It was repeatedly brought up that the current default color scheme inherited from vim leaves something to be desired. So here is a proposal to improve the current default color scheme, where I am only interested in objective improvements (so this is not meant as a duplicate of "prettier default color schemes" or "bundle more modern color schemes", see #793 and vim/vim#1665). For example:

  1. Tweak the current colors (especially the diff and float colors) to be more legible, on both dark and light backgrounds.
  2. In general, tweak the colors to be more accessible (for people with various forms of color vision deficiency).
  3. Add a separate truecolor variant, since the default is meant as a fallback that works reasonably well on every platform/terminal. (Along the same lines, we could set pumblend=20 or so if termguicolors is set.)
  4. Add highlight groups for the new neovim-only features (floats, LSP, tree-sitter).
  5. Implement it in Lua (as a template for others to adapt or extend).

The last point is of course a pure gimmick right now (but may still be nice for the sake of branding; at least currently, this also seems to bypass some minor open issues with vimscript color schemes) but may be more worthwhile if 0.6 includes a native Lua API for highlight groups (which, together with tree-sitter still being experimental for 0.5, is the reason for the milestone).

Metadata

Metadata

Assignees

Labels

defaultsNvim defaults for options, colorscheme/theme, autocmds/events, etc.highlight

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions