mirror of
https://github.com/neovim/neovim.git
synced 2026-07-22 00:51:33 +00:00
fix(runtime): source old color scheme in bundled color schemes (#26641)
Problem: Bundled color schemes use `:hi clear` and only define Vim's highlight groups. This results into Nvim-specific highlight groups using definitions from Nvim's default color scheme, which are not always linked to a Vim's highlight group. Solution: Restore links to Vim's highlight groups which were present before Nvim's default color scheme update.
This commit is contained in:
committed by
GitHub
parent
2ded2e75f4
commit
d431a4d410
@@ -32,8 +32,9 @@ Defaults *nvim-defaults*
|
||||
":syntax off" to |init.vim|.
|
||||
- Default color scheme has been updated. This can result in color schemes
|
||||
looking differently due to them relying on how highlight groups are defined
|
||||
by default. Add ":colorscheme vim" to |init.vim| or your color scheme file to
|
||||
restore the old default links and colors.
|
||||
by default. Add ":colorscheme vim" to |init.vim| or
|
||||
":source $VIMRUNTIME/colors/vim.lua" to your color scheme file to restore
|
||||
the old default links and colors.
|
||||
|
||||
- 'autoindent' is enabled
|
||||
- 'autoread' is enabled (works in all UIs, including terminal)
|
||||
|
||||
Reference in New Issue
Block a user