Skip to content

Commit

Permalink
Switch to latest nvim-treesitter queries (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
pynappo authored Feb 5, 2024
1 parent 6463d39 commit 0a9804d
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions lua/ayu/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -116,32 +116,32 @@ local function set_groups()

-- TreeSitter.
['@property'] = { fg = colors.tag },
['@field'] = { fg = colors.tag },
['@parameter'] = { fg = colors.fg },
['@namespace'] = { fg = colors.func },
['@variable.builtin'] = { fg = colors.func },
['@text.title'] = { fg = colors.keyword },
['@type.qualifier'] = { fg = colors.keyword },
['@storageclass'] = { fg = colors.keyword },
['@tag'] = { fg = colors.keyword },
['@tag.attribute'] = { fg = colors.entity },
['@tag.delimiter'] = { link = 'Delimiter' },
['@type.qualifier'] = { fg = colors.keyword },
['@variable'] = { fg = colors.fg },
['@variable.builtin'] = { fg = colors.func },
['@variable.member'] = { fg = colors.tag },
['@variable.parameter'] = { fg = colors.fg },
['@module'] = { fg = colors.func },
['@markup.heading'] = { fg = colors.keyword },
['@keyword.storage'] = { fg = colors.keyword },

['@lsp.type.namespace'] = { link = '@namespace' },
['@lsp.type.namespace'] = { link = '@module' },
['@lsp.type.type'] = { link = '@type' },
['@lsp.type.class'] = { link = '@type' },
['@lsp.type.enum'] = { link = '@type' },
['@lsp.type.interface'] = { link = '@type' },
['@lsp.type.struct'] = { link = '@structure' },
['@lsp.type.struct'] = { link = '@variable.member' },
['@lsp.type.parameter'] = { fg = colors.lsp_parameter },
['@lsp.type.field'] = { link = '@field' },
['@lsp.type.field'] = { link = '@variable.member' },
['@lsp.type.variable'] = { link = '@variable' },
['@lsp.type.property'] = { link = '@property' },
['@lsp.type.enumMember'] = { link = '@constant' },
['@lsp.type.function'] = { link = '@function' },
['@lsp.type.method'] = { link = '@method' },
['@lsp.type.macro'] = { link = '@macro' },
['@lsp.type.method'] = { link = '@function.method' },
['@lsp.type.macro'] = { link = '@function.macro' },
['@lsp.type.decorator'] = { link = '@function' },
['@lsp.mod.constant'] = { link = '@constant' },

Expand Down

0 comments on commit 0a9804d

Please sign in to comment.