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

init applies overrides before the defaults, defeating the point #7

Open
Amleto opened this issue Dec 30, 2024 · 0 comments
Open

init applies overrides before the defaults, defeating the point #7

Amleto opened this issue Dec 30, 2024 · 0 comments

Comments

@Amleto
Copy link

Amleto commented Dec 30, 2024

Docs say pass an opts table into setup(...) for lazy, however this has no net effect since overrides are undone by the defaults. Here is a print log (at highlight(...) call site) I added when trying to override float border

NormalFloat {
  bg = "#232534"
}
FloatBorder {
  bg = "#111111",
  fg = "#a6accd"
}
NormalFloat {
  bg = "#232534"
}
FloatBorder {
  bg = "#232534",
  fg = "#232534"
}

It shows my override of FloatBorder being set then set back to default.

The config I tried,

    {
      "JoosepAlviste/palenightfall.nvim",

      opts = {
        color_overrides = {
          green = "#77aa99",
        },
        highlight_overrides = {
          FloatBorder = { bg = "#111111", fg = "#a6accd" },
        },
      },
    },
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

No branches or pull requests

1 participant