Skip to content

Commit

Permalink
fix(lsp): enumMember should be highlighted @constant (#352)
Browse files Browse the repository at this point in the history
  • Loading branch information
amaanq committed Apr 17, 2023
1 parent 169b76f commit 78bcc2f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion extras/lua/tokyonight_day.lua
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ local highlights = {
link = "@type"
},
["@lsp.type.enumMember"] = {
link = "@property"
link = "@constant"
},
["@lsp.type.interface"] = {
link = "@type"
Expand Down
2 changes: 1 addition & 1 deletion extras/lua/tokyonight_moon.lua
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ local highlights = {
link = "@type"
},
["@lsp.type.enumMember"] = {
link = "@property"
link = "@constant"
},
["@lsp.type.interface"] = {
link = "@type"
Expand Down
2 changes: 1 addition & 1 deletion extras/lua/tokyonight_night.lua
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ local highlights = {
link = "@type"
},
["@lsp.type.enumMember"] = {
link = "@property"
link = "@constant"
},
["@lsp.type.interface"] = {
link = "@type"
Expand Down
2 changes: 1 addition & 1 deletion extras/lua/tokyonight_storm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ local highlights = {
link = "@type"
},
["@lsp.type.enumMember"] = {
link = "@property"
link = "@constant"
},
["@lsp.type.interface"] = {
link = "@type"
Expand Down
2 changes: 1 addition & 1 deletion lua/tokyonight/theme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ function M.setup()
-- LSP Semantic Token Groups
["@lsp.type.comment"] = { link = "@comment" },
["@lsp.type.enum"] = { link = "@type" },
["@lsp.type.enumMember"] = { link = "@property" },
["@lsp.type.enumMember"] = { link = "@constant" },
["@lsp.type.interface"] = { link = "@type" },
["@lsp.type.keyword"] = { link = "@keyword" },
["@lsp.type.namespace"] = { link = "@namespace" },
Expand Down

0 comments on commit 78bcc2f

Please sign in to comment.