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

Add support for nvim-treesitter-context #35

Merged
merged 2 commits into from
Jan 8, 2024
Merged

Add support for nvim-treesitter-context #35

merged 2 commits into from
Jan 8, 2024

Conversation

rami3l
Copy link
Contributor

@rami3l rami3l commented Jan 8, 2024

Closes #34 by adding a new entry for the key TreesitterContext to the color table.

Tested with the following override configuration:

  {
    "Shatur/neovim-ayu",
    name = "ayu",
    config = function()
      local ayu = require("ayu")
      local colors = require("ayu.colors")

      local mirage = true
      colors.generate(mirage)

      ayu.setup {
        mirage = mirage,
        overrides = {
          TreesitterContext = {
            bg = colors.selection_inactive,
          },
        },
      }
    end,
  },

@Shatur
Copy link
Owner

Shatur commented Jan 8, 2024

Thanks! But could you also attach a screenshot?

@rami3l
Copy link
Contributor Author

rami3l commented Jan 8, 2024

Thanks! But could you also attach a screenshot?

@Shatur Sure! It looks like this on my machine:

image

@Shatur Shatur merged commit 6463d39 into Shatur:master Jan 8, 2024
@rami3l rami3l deleted the patch-1 branch January 8, 2024 10:44
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 this pull request may close these issues.

Add support for nvim-treesitter-context
2 participants