Skip to content

Commit 6b81eac

Browse files
committed
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 <neovim/neovim#26378> for more information.
1 parent 187f5c8 commit 6b81eac

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

colors/one.vim

+3
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ if exists("*<SID>X")
1919
endif
2020

2121
hi clear
22+
if has('nvim-0.10')
23+
runtime colors/vim.vim
24+
endif
2225
syntax reset
2326
if exists('g:colors_name')
2427
unlet g:colors_name

0 commit comments

Comments
 (0)