Update theme.lua

This commit is contained in:
shaunsingh
2021-06-02 10:11:43 -04:00
committed by GitHub
parent c254bbed16
commit 7411bc7260

View File

@@ -260,15 +260,15 @@ theme.loadTreeSitter = function ()
end end
if vim.g.solarized_italic_keywords == true then if vim.g.solarized_italic_keywords == true then
treesitter.TSConditional = { fg = solarized.purple, style = 'italic' } -- For keywords related to conditionnals. treesitter.TSConditional = { fg = solarized.greeen, style = 'italic' } -- For keywords related to conditionnals.
treesitter.TSKeyword = { fg = solarized.purple, style = 'italic' } -- For keywords that don't fall in previous categories. treesitter.TSKeyword = { fg = solarized.green, 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.TSRepeat = { fg = solarized.green, style = 'bold,italic' } -- For keywords related to loops.
treesitter.TSKeywordFunction = { fg = solarized.purple, style = 'bold,italic' } -- For keywords used to define a fuction. treesitter.TSKeywordFunction = { fg = solarized.green, style = 'bold,italic' } -- For keywords used to define a fuction.
else else
treesitter.TSConditional = { fg = solarized.purple} -- For keywords related to conditionnals. treesitter.TSConditional = { fg = solarized.green} -- For keywords related to conditionnals.
treesitter.TSKeyword = { fg = solarized.purple} -- For keywords that don't fall in previous categories. treesitter.TSKeyword = { fg = solarized.green} -- For keywords that don't fall in previous categories.
treesitter.TSRepeat = { fg = solarized.purple, style = 'bold' } -- For keywords related to loops. treesitter.TSRepeat = { fg = solarized.green, style = 'bold' } -- For keywords related to loops.
treesitter.TSKeywordFunction = { fg = solarized.purple, style = 'bold' } -- For keywords used to define a fuction. treesitter.TSKeywordFunction = { fg = solarized.green, style = 'bold' } -- For keywords used to define a fuction.
end end
if vim.g.solarized_italic_functions == true then if vim.g.solarized_italic_functions == true then