Skip to content

[Bug]: Can access colors when overrite highlight groups #1

Description

@nihilc

Tool Version

commit a69071f

Describe the bug

when trying to override hlgroups in the setup function it ignores the colors parameter and can't access the scheme colors

require("oxide").setup({ 
  -- Override highlight groups
  on_highlights = function(highlights, colors)
    highlights.Comment = { fg = colors.green, italic = true }
  end,
})

Expected behavior

if i put the color manually it works, it just can access the colors parameter

require("oxide").setup({ 
  -- Override highlight groups
  on_highlights = function(highlights, colors)
    highlights.Comment = { fg = "#5bb661", italic = true }
  end,
})

Screenshots

Image Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions