Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onedark_color_overrides not taking effect #284

Closed
2 tasks done
dstadelm opened this issue Aug 13, 2021 · 5 comments · Fixed by #291
Closed
2 tasks done

onedark_color_overrides not taking effect #284

dstadelm opened this issue Aug 13, 2021 · 5 comments · Fixed by #291

Comments

@dstadelm
Copy link

Terminal Emulator Info

Gnome Terminal

Output From vim --version

NVIM v0.5.0
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/gcc-11 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_TS_HAS_SET_MATCH_LIMIT -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/home/runner/work/neovim/neovim/build/config -I/home/runner/work/neovim/neovim/src -I/home/runner/work/neovim/neovim/.deps/usr/include -I/usr/include -I/home/runner/work/neovim/neovim/build/src/nvim/auto -I/home/runner/work/neovim/neovim/build/include
Compiled by runner@fv-az242-526

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "
/home/runner/work/neovim/neovim/build/nvim.AppDir/usr/share/nvim"

Run :checkhealth for more info

Issue Description

onedark_color_overrides are not working

with the following configuration I expect a darker background (TUI 256)

" settings for one dark (instead of one half dark)
call minpac#add('joshdick/onedark.vim',  {'type': 'opt'})
set termguicolors
let g:one_allow_italics = 1
let g:onedark_terminal_italics = 1
let g:lightline = {
  \ 'colorscheme': 'onedark',
  \}
let g:onedark_color_overrides = {
  \  "black" : { "gui" : "#1e2127", "cterm" : 235, "cterm16" : 0 }
  \}
packadd onedark.vim
colorscheme onedark

But no matter what values I set the background does not change.

It used to work until I recently updated the package.

@joshdick
Copy link
Owner

@dstadelm Thanks for using onedark.vim! I apologize that these changes likely broke your configuration.

There might be a simple fix, though: does overriding "background" instead of "black" get things working again?

@dstadelm
Copy link
Author

Hi @joshdick
Thanks for the fast reply and apologies for my belated reply.
Yes indeed this fixed the issue!

@joshdick
Copy link
Owner

@dstadelm No worries, glad to hear it, and thanks for using onedark.vim!

@mikehaertl
Copy link

@joshdick I had the same problem. Shouldn't this also be fixed in the README?

joshdick added a commit that referenced this issue Oct 15, 2021
joshdick added a commit that referenced this issue Oct 15, 2021
@joshdick
Copy link
Owner

@mikehaertl Fixed in #291, thanks for the suggestion!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants