Skip to content

Commit b42a494

Browse files
authored
feat(treesitter): change variable.memeber to link to property (#108)
1 parent 415d003 commit b42a494

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lua/astrotheme/groups/plugins/nvim-treesitter.lua

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ local function callback(opts)
1010
["@variable.parameter"] = {
1111
fg = opts.simple_syntax_colors and C.syntax.text or C.syntax.orange,
1212
},
13-
["@variable.member"] = {
14-
fg = opts.simple_syntax_colors and C.syntax.text or C.syntax.red,
15-
},
13+
["@variable.member"] = { link = "@property" },
1614

1715
["@constant"] = { link = "Constant" },
1816
["@constant.builtin"] = { link = "@constant" },

0 commit comments

Comments
 (0)