Skip to content

Commit

Permalink
Fix comment color
Browse files Browse the repository at this point in the history
  • Loading branch information
gepbird committed Jun 24, 2023
1 parent 7c23664 commit fc613c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions darkplus.toml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ TabLineSel = 'fg line'
TabLineFill = 'line line'

[Code]
Comment = 'context'
Comment = 'green'
Variable = 'light_blue'
String = 'orange'
Character = 'orange'
Expand Down Expand Up @@ -166,7 +166,7 @@ PreCondit = 'purple'
Special = 'orange'

[Treesitter]
TSComment = 'green - i'
TSComment = 'link:Comment'
TSVariable = 'link:Variable'
TSString = 'link:String'
TSStringRegex = 'link:String'
Expand Down
4 changes: 2 additions & 2 deletions lua/darkplus/theme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ theme.set_highlights = function()
hl(0, "TabLineFill", { fg = c.line, bg = c.line })

-- Code
hl(0, "Comment", { fg = c.context, bg = 'NONE' })
hl(0, "Comment", { fg = c.green, bg = 'NONE' })
hl(0, "Variable", { fg = c.light_blue, bg = 'NONE' })
hl(0, "String", { fg = c.orange, bg = 'NONE' })
hl(0, "Character", { fg = c.orange, bg = 'NONE' })
Expand Down Expand Up @@ -105,7 +105,7 @@ theme.set_highlights = function()
hl(0, "Special", { fg = c.orange, bg = 'NONE' })

-- Treesitter
hl(0, "@comment", { fg = c.green, bg = 'NONE', italic = true, })
hl(0, "@comment", { link = 'Comment' })
hl(0, "@none", { fg = 'NONE', bg = 'NONE' })
hl(0, "@preproc", { link = 'PreProc' })
hl(0, "@define", { link = 'Define' })
Expand Down

0 comments on commit fc613c2

Please sign in to comment.