Skip to content

Commit

Permalink
Update theme.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunsingh authored Jun 2, 2021
1 parent c254bbe commit 7411bc7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions lua/solarized/theme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -260,15 +260,15 @@ theme.loadTreeSitter = function ()
end

if vim.g.solarized_italic_keywords == true then
treesitter.TSConditional = { fg = solarized.purple, style = 'italic' } -- For keywords related to conditionnals.
treesitter.TSKeyword = { fg = solarized.purple, style = 'italic' } -- For keywords that don't fall in previous categories.
treesitter.TSRepeat = { fg = solarized.purple, style = 'bold,italic' } -- For keywords related to loops.
treesitter.TSKeywordFunction = { fg = solarized.purple, style = 'bold,italic' } -- For keywords used to define a fuction.
treesitter.TSConditional = { fg = solarized.greeen, style = 'italic' } -- For keywords related to conditionnals.
treesitter.TSKeyword = { fg = solarized.green, style = 'italic' } -- For keywords that don't fall in previous categories.
treesitter.TSRepeat = { fg = solarized.green, style = 'bold,italic' } -- For keywords related to loops.
treesitter.TSKeywordFunction = { fg = solarized.green, style = 'bold,italic' } -- For keywords used to define a fuction.
else
treesitter.TSConditional = { fg = solarized.purple} -- For keywords related to conditionnals.
treesitter.TSKeyword = { fg = solarized.purple} -- For keywords that don't fall in previous categories.
treesitter.TSRepeat = { fg = solarized.purple, style = 'bold' } -- For keywords related to loops.
treesitter.TSKeywordFunction = { fg = solarized.purple, style = 'bold' } -- For keywords used to define a fuction.
treesitter.TSConditional = { fg = solarized.green} -- For keywords related to conditionnals.
treesitter.TSKeyword = { fg = solarized.green} -- For keywords that don't fall in previous categories.
treesitter.TSRepeat = { fg = solarized.green, style = 'bold' } -- For keywords related to loops.
treesitter.TSKeywordFunction = { fg = solarized.green, style = 'bold' } -- For keywords used to define a fuction.
end

if vim.g.solarized_italic_functions == true then
Expand Down

0 comments on commit 7411bc7

Please sign in to comment.