Skip to content

bug: can not get light colorscheme #8

@matu3ba

Description

@matu3ba

Minimal init.lua:

setting vim.o.background to light has no effect

--vim.o.background = 'light'; --inserting here does not have an effect
require('packer').startup(
function()
  use { 'wbthomason/packer.nvim' }
  use { 'glepnir/lspsaga.nvim', requires = { 'neovim/nvim-lspconfig' } }
  use { 'Th3Whit3Wolf/onebuddy', requires = { 'tjdevries/colorbuddy.nvim' } }
end
)
require('colorbuddy').colorscheme('onebuddy')
vim.o.background = 'light'; --sets vim.o.background, but I dont get the light colorscheme

in commandline: :lua print(vim.o.background) returns light, but the light colorscheme is not loaded.

It gets reset somewhere, when I set it in the first line. Ideas? Is this a neovim regression?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions