More vibrant colors
This commit is contained in:
@@ -225,13 +225,13 @@ theme.loadTreeSitter = function ()
|
|||||||
TSNamespace = { fg = solarized.yellow }, -- For identifiers referring to modules and namespaces.
|
TSNamespace = { fg = solarized.yellow }, -- For identifiers referring to modules and namespaces.
|
||||||
--TSNone = { }, -- TODO: docs
|
--TSNone = { }, -- TODO: docs
|
||||||
TSNumber = { fg = solarized.orange}, -- For all numbers
|
TSNumber = { fg = solarized.orange}, -- For all numbers
|
||||||
TSOperator = { fg = solarized.cyan}, -- For any operator: `+`, but also `->` and `*` in C.
|
TSOperator = { fg = solarized.black}, -- For any operator: `+`, but also `->` and `*` in C.
|
||||||
TSParameter = { fg = solarized.paleblue }, -- For parameters of a function.
|
TSParameter = { fg = solarized.paleblue }, -- For parameters of a function.
|
||||||
TSParameterReference= { fg = solarized.paleblue }, -- For references to parameters of a function.
|
TSParameterReference= { fg = solarized.paleblue }, -- For references to parameters of a function.
|
||||||
TSProperty = { fg = solarized.paleblue }, -- Same as `TSField`.
|
TSProperty = { fg = solarized.paleblue }, -- Same as `TSField`.
|
||||||
TSPunctDelimiter = { fg = solarized.cyan }, -- For delimiters ie: `.`
|
TSPunctDelimiter = { fg = solarized.black }, -- For delimiters ie: `.`
|
||||||
TSPunctBracket = { fg = solarized.cyan }, -- For brackets and parens.
|
TSPunctBracket = { fg = solarized.black }, -- For brackets and parens.
|
||||||
TSPunctSpecial = { fg = solarized.cyan }, -- For special punctutation that does not fall in the catagories before.
|
TSPunctSpecial = { fg = solarized.black }, -- For special punctutation that does not fall in the catagories before.
|
||||||
TSString = { fg = solarized.green }, -- For strings.
|
TSString = { fg = solarized.green }, -- For strings.
|
||||||
TSStringRegex = { fg = solarized.blue }, -- For regexes.
|
TSStringRegex = { fg = solarized.blue }, -- For regexes.
|
||||||
TSStringEscape = { fg = solarized.disabled }, -- For escape characters within a string.
|
TSStringEscape = { fg = solarized.disabled }, -- For escape characters within a string.
|
||||||
@@ -272,21 +272,21 @@ theme.loadTreeSitter = function ()
|
|||||||
end
|
end
|
||||||
|
|
||||||
if vim.g.solarized_italic_functions == true then
|
if vim.g.solarized_italic_functions == true then
|
||||||
treesitter.TSFunction = { fg = solarized.blue, style = 'bold,italic' } -- For fuction (calls and definitions).
|
treesitter.TSFunction = { fg = solarized.cursor, style = 'bold,italic' } -- For fuction (calls and definitions).
|
||||||
treesitter.TSMethod = { fg = solarized.blue, style = 'bold,italic' } -- For method calls and definitions.
|
treesitter.TSMethod = { fg = solarized.cursor, style = 'bold,italic' } -- For method calls and definitions.
|
||||||
treesitter.TSFuncBuiltin = { fg = solarized.cyan, style = 'bold,italic' } -- For builtin functions: `table.insert` in Lua.
|
treesitter.TSFuncBuiltin = { fg = solarized.yellow, style = 'bold,italic' } -- For builtin functions: `table.insert` in Lua.
|
||||||
else
|
else
|
||||||
treesitter.TSFunction = { fg = solarized.blue, style = 'bold' } -- For fuction (calls and definitions).
|
treesitter.TSFunction = { fg = solarized.cursor, style = 'bold' } -- For fuction (calls and definitions).
|
||||||
treesitter.TSMethod = { fg = solarized.blue, style = 'bold' } -- For method calls and definitions.
|
treesitter.TSMethod = { fg = solarized.cursor, style = 'bold' } -- For method calls and definitions.
|
||||||
treesitter.TSFuncBuiltin = { fg = solarized.cyan, style = 'bold' } -- For builtin functions: `table.insert` in Lua.
|
treesitter.TSFuncBuiltin = { fg = solarized.yellow, style = 'bold' } -- For builtin functions: `table.insert` in Lua.
|
||||||
end
|
end
|
||||||
|
|
||||||
if vim.g.solarized_italic_variables == true then
|
if vim.g.solarized_italic_variables == true then
|
||||||
treesitter.TSVariable = { fg = solarized.gray, style = 'italic' } -- Any variable name that does not have another highlight.
|
treesitter.TSVariable = { fg = solarized.gray, style = 'italic' } -- Any variable name that does not have another highlight.
|
||||||
treesitter.TSVariableBuiltin = { fg = solarized.gray, style = 'italic' } -- Variable names that are defined by the languages, like `this` or `self`.
|
treesitter.TSVariableBuiltin = { fg = solarized.gray, style = 'italic' } -- Variable names that are defined by the languages, like `this` or `self`.
|
||||||
else
|
else
|
||||||
treesitter.TSVariable = { fg = solarized.gray} -- Any variable name that does not have another highlight.
|
treesitter.TSVariable = { fg = solarized.cursor} -- Any variable name that does not have another highlight.
|
||||||
treesitter.TSVariableBuiltin = { fg = solarized.gray} -- Variable names that are defined by the languages, like `this` or `self`.
|
treesitter.TSVariableBuiltin = { fg = solarized.cursor} -- Variable names that are defined by the languages, like `this` or `self`.
|
||||||
end
|
end
|
||||||
|
|
||||||
return treesitter
|
return treesitter
|
||||||
|
|||||||
Reference in New Issue
Block a user