Skip to content

Configuration Options for Treesitter <-> Color/Style Mappings #388

Closed Answered by EdenEast
jtyler76 asked this question in Q&A
Discussion options

You must be logged in to vote

Not sure I fully understand your question but if I understand correctly you want some way to set @function.builtin and @keyword.return differently. A colorscheme's spec also contains the underlying palette. You can set this like:

require("nightfox").setup({
  groups = {
    all = {
      ["@function.builtin"] = { fg = "palette.blue" },
      ["@keyword.return"] = { fg = "palette.red" },
    },
  },
})

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jtyler76
Comment options

Answer selected by jtyler76
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants