Skip to content

Commit

Permalink
feat: changes type definition highlighting for go
Browse files Browse the repository at this point in the history
Aurora yellow is too strong of a color to define types and interfaces
and as such, I've opted for changing it to foreground color
  • Loading branch information
Filipe Cancelinha committed Aug 15, 2024
1 parent f6deb62 commit 4806f2b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lua/nordern/lang.lua
Original file line number Diff line number Diff line change
Expand Up @@ -307,21 +307,21 @@ L.go = {
["@lsp.typemod.method.definition.go"] = { fg = C.frost.turquoise, bg = C.none },
["@lsp.typemod.parameter.definition.go"] = { fg = C.fg, bg = C.none },
["@lsp.typemod.type.defaultLibrary.go"] = { fg = C.frost.turquoise, bg = C.none },
["@lsp.typemod.type.definition.go"] = { fg = C.frost.sea, bg = C.none },
["@lsp.typemod.type.definition.go"] = { fg = C.fg, bg = C.none },
["@lsp.typemod.typeParameter.definition.go"] = { fg = C.aurora.yellow, bg = C.none },
["@lsp.typemod.variable.defaultLibrary.go"] = { fg = C.aurora.yellow, bg = C.none },
["@lsp.typemod.variable.definition.go"] = { fg = C.fg, bg = C.none },
["@lsp.typemod.variable.readonly.go"] = { fg = C.frost.sea, bg = C.none },
["@lsp.typemod.variable.readonly.go"] = { fg = C.aurora.yellow, bg = C.none },
["@method.call.go"] = { fg = C.frost.sea, bg = C.none },
["@method.go"] = { fg = C.frost.turquoise, bg = C.none },
["@module.go"] = { fg = C.fg, bg = C.none },
["@namespace.go"] = { fg = C.none, bg = C.none },
["@property.go"] = { fg = C.frost.turquoise, bg = C.none },
["@punctuation.bracket.go"] = { fg = C.frost.light_blue, bg = C.none },
["@punctuation.bracket.go"] = { fg = C.frost.turquoise, bg = C.none },
["@string.escape.go"] = { fg = C.aurora.yellow, bg = C.none },
["@string.go"] = { fg = C.aurora.green, bg = C.none },
["@type.builtin.go"] = { fg = C.special.light_blue, bg = C.none },
["@type.definition.go"] = { fg = C.frost.sea, bg = C.none },
["@type.definition.go"] = { fg = C.fg, bg = C.none },
["@type.go"] = { fg = C.special.light_blue, bg = C.none },
["@variable.go"] = { fg = C.fg, bg = C.none },
["@variable.parameter.go"] = { fg = C.fg, bg = C.none },
Expand Down

0 comments on commit 4806f2b

Please sign in to comment.