From a09bca511cc19feede97ede1a5600659bfb9d72b Mon Sep 17 00:00:00 2001 From: Ingo Meyer Date: Tue, 2 Jan 2024 21:40:26 +0100 Subject: [PATCH] Stay compatible with Neovim >= 0.10 Neovim 0.10 changes the default color scheme and others highlighting groups different from Vim. Therefore, source the old vim colorscheme before vim.one defines any highlights. See for more information. --- colors/one.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/colors/one.vim b/colors/one.vim index 54747c3..aefa358 100644 --- a/colors/one.vim +++ b/colors/one.vim @@ -19,6 +19,9 @@ if exists("*X") endif hi clear +if has('nvim-0.10') + runtime colors/vim.lua +endif syntax reset if exists('g:colors_name') unlet g:colors_name