rakr / vim-one

Adaptation of one-light and one-dark colorschemes for Vim
MIT License
1.99k stars 196 forks source link

call one#highlight does not seem to work in init.vim #73

Open micalexander opened 6 years ago

micalexander commented 6 years ago

call one#highlight('CursorLineNr', '282c33', '99c37e', 'none') only seems to work when called explicitly.

I currently have the code below in my init.vim

set background=dark
colorscheme one
call one#highlight('CursorLineNr', '282c33', '99c37e', 'none')
francium commented 4 years ago

Most likely can be fixed by putting call one#highlight after the following two commands,

filetype plugin indent on
syntax on

see https://github.com/neovim/neovim/issues/5730#issuecomment-265605828