aboutsummaryrefslogtreecommitdiff
path: root/runtime/colors/shine.vim
diff options
context:
space:
mode:
authorEvgeni Chasnovski <evgeni.chasnovski@gmail.com>2023-12-21 14:53:43 +0200
committerGitHub <noreply@github.com>2023-12-21 20:53:43 +0800
commitd431a4d410f02af2039d7c98e4e33136fd1e4849 (patch)
treed9fb9c5c9d2e495f08e04b4e19ba922a03f6e5f6 /runtime/colors/shine.vim
parent2ded2e75f4a6d9a575eeb1600e92c6bb333f8060 (diff)
downloadrneovim-d431a4d410f02af2039d7c98e4e33136fd1e4849.tar.gz
rneovim-d431a4d410f02af2039d7c98e4e33136fd1e4849.tar.bz2
rneovim-d431a4d410f02af2039d7c98e4e33136fd1e4849.zip
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.
Diffstat (limited to 'runtime/colors/shine.vim')
-rw-r--r--runtime/colors/shine.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/colors/shine.vim b/runtime/colors/shine.vim
index 4e2e4bc3d9..b4a8793589 100644
--- a/runtime/colors/shine.vim
+++ b/runtime/colors/shine.vim
@@ -10,7 +10,8 @@
set background=light
-hi clear
+" hi clear
+source $VIMRUNTIME/colors/vim.lua " Nvim: revert to Vim default color scheme
let g:colors_name = 'shine'
let s:t_Co = &t_Co