Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite79d09f

Browse files
authored
fix(treesitter): keep@property &@variable.member aslavender (#905)
* fix(treesitter): keep `lavender` for `@property`* fix(treesitter): standardise `lavender` for all `@property`* chore: change `@variable.member` back to `lavender`
1 parentc891845 commite79d09f

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

‎lua/catppuccin/groups/treesitter.lua‎

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ If you want to stay on nvim 0.7, pin catppuccin tag to v0.2.4 and nvim-treesitte
1717
["@variable"]= {fg=C.text,style=O.styles.variablesor {} },-- Any variable name that does not have another highlight.
1818
["@variable.builtin"]= {fg=C.red,style=O.styles.propertiesor {} },-- Variable names that are defined by the languages, like this or self.
1919
["@variable.parameter"]= {fg=C.maroon,style=O.styles.variablesor {} },-- For parameters of a function.
20-
["@variable.member"]= {fg=C.text },-- For fields.
20+
["@variable.member"]= {fg=C.lavender },-- For fields.
2121

2222
["@constant"]= {link="Constant"},-- For constants
2323
["@constant.builtin"]= {fg=C.peach,style=O.styles.keywordsor {} },-- For constant that are built in the language: nil in Lua.
@@ -50,7 +50,7 @@ If you want to stay on nvim 0.7, pin catppuccin tag to v0.2.4 and nvim-treesitte
5050
["@type.definition"]= {link="Type"},-- type definitions (e.g. `typedef` in C)
5151

5252
["@attribute"]= {link="Constant"},-- attribute annotations (e.g. Python decorators)
53-
["@property"]= {fg=C.text,style=O.styles.propertiesor {} },-- For fields, like accessing `bar` property on `foo.bar`. Overriden later for data languages and CSS.
53+
["@property"]= {fg=C.lavender,style=O.styles.propertiesor {} },-- For fields, like accessing `bar` property on `foo.bar`. Overriden later for data languages and CSS.
5454

5555
-- Functions
5656
["@function"]= {link="Function"},-- For function (calls and definitions).
@@ -172,26 +172,15 @@ If you want to stay on nvim 0.7, pin catppuccin tag to v0.2.4 and nvim-treesitte
172172
["@markup.link.label.html"]= {fg=C.text },-- Text between <a></a> tags.
173173
["@character.special.html"]= {fg=C.red },-- Symbols such as &nbsp;.
174174

175-
-- TOML
176-
["@property.toml"]= {fg=C.blue },-- For fields.
177-
178-
-- JSON
179-
["@property.json"]= {fg=C.blue },-- For fields.
180-
181175
-- Lua
182176
["@constructor.lua"]= {link="@punctuation.bracket"},-- For constructor calls and definitions: = { } in Lua.
183177

184178
-- Python
185179
["@constructor.python"]= {fg=C.sky },-- __init__(), __new__().
186180

187181
-- YAML
188-
["@property.yaml"]= {fg=C.blue },-- For fields.
189182
["@label.yaml"]= {fg=C.yellow },-- Anchor and alias names.
190183

191-
-- Nix
192-
["@variable.member.nix"]= {fg=C.blue },-- For fields.
193-
["@lsp.type.property.nix"]= {fg=C.blue },-- Also for fields, from LSP.
194-
195184
-- Ruby
196185
["@string.special.symbol.ruby"]= {fg=C.flamingo },
197186

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp