Skip to content

Commit

Permalink
Fix: php theme methods (#405)
Browse files Browse the repository at this point in the history
  • Loading branch information
robmeijerink authored Feb 15, 2023
1 parent a5f3ed5 commit 15e558f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lua/catppuccin/groups/integrations/treesitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ If you want to stay on nvim 0.7, either disable the integration or pin catppucci

-- Keywords
["@keyword"] = { link = "Keyword" }, -- For keywords that don't fall in previous categories.
["@keyword.function"] = { fg = C.mauve, style = O.styles.keywords or {} }, -- For keywords used to define a fuction.
["@keyword.function"] = { fg = C.mauve, style = O.styles.keywords or {} }, -- For keywords used to define a function.
["@keyword.operator"] = { fg = C.mauve, style = O.styles.operators or {} }, -- For new keyword operator
["@keyword.return"] = { fg = C.mauve, style = O.styles.keywords or {} },
-- JS & derivative
Expand Down Expand Up @@ -169,7 +169,9 @@ If you want to stay on nvim 0.7, either disable the integration or pin catppucci
["@symbol.ruby"] = { fg = C.flamingo },

-- PHP
["@type.qualifier.php"] = { fg = C.pink, style = O.styles.properties }, -- type qualifiers (e.g. `const`)
["@type.qualifier.php"] = { link = "Keyword" }, -- type qualifiers (e.g. `const`)
["@method.php"] = { link = "Function" },
["@method.call.php"] = { link = "Function" },
}
end

Expand Down

0 comments on commit 15e558f

Please sign in to comment.