refactor: solarized light properties, solarized dark keyword and statement

This commit is contained in:
Max Miliano 2024-08-25 18:13:08 -03:00
parent fb1997be52
commit afad4e8cf1
2 changed files with 8 additions and 5 deletions

View file

@ -520,6 +520,7 @@ M.set_highlight = function(colors, config)
nvim_set_hl('@type.builtin', { link = 'Keyword' })
nvim_set_hl('@type.definition', { link = 'Type' })
nvim_set_hl('@type.qualifier', { link = 'Type' })
nvim_set_hl('@attribute', { link = 'Keyword' })
nvim_set_hl('@function', { link = 'Function' })
nvim_set_hl('@function.builtin', { fg = colors.yellow })
nvim_set_hl('@function.call', { link = 'Function' })
@ -531,11 +532,12 @@ M.set_highlight = function(colors, config)
nvim_set_hl('@operator', { link = 'Statement' })
nvim_set_hl('@keyword', { link = 'Keyword' })
nvim_set_hl('@keyword.coroutine', { link = 'Statement' })
nvim_set_hl('@keyword.function', { link = 'Statement' })
nvim_set_hl('@keyword.function', { link = 'Keyword' })
nvim_set_hl('@keyword.type', { link = 'Keyword' })
nvim_set_hl('@keyword.operator', { link = 'Statement' })
nvim_set_hl('@keyword.import', { link = 'Keyword' })
nvim_set_hl('@keyword.repeat', { link = 'Statement' })
nvim_set_hl('@keyword.return', { link = 'Keyword' })
nvim_set_hl('@keyword.return', { link = 'Statement' })
nvim_set_hl('@keyword.debug', { link = 'Keyword' })
nvim_set_hl('@keyword.exception', { link = 'Statement' })
nvim_set_hl('@keyword.conditional', { link = 'Statement' })

View file

@ -132,7 +132,7 @@ M.set_highlight = function(colors, config)
nvim_set_hl('Whitespace', { fg = colors.base01 })
nvim_set_hl('WildMenu', { fg = colors.base2 })
nvim_set_hl('WinBar', { link = 'Pmenu' })
nvim_set_hl('WinBarNC', { link = 'WinBar' })
nvim_set_hl('WinBarNC', { link = 'WinBar' })
-- SYNTAX :h group-name
nvim_set_hl('Comment', { fg = colors.base1 })
@ -172,7 +172,7 @@ M.set_highlight = function(colors, config)
nvim_set_hl('Todo', { fg = colors.blue })
nvim_set_hl('Added', { fg = colors.git_add })
nvim_set_hl('Changed', { fg = colors.git_modify })
nvim_set_hl('Removed', { fg = colors.git_delete })
nvim_set_hl('Removed', { fg = colors.git_delete })
-- PLUGINS
if config.plugins.treesitter then
@ -200,7 +200,8 @@ M.set_highlight = function(colors, config)
nvim_set_hl('@type.builtin', { link = 'Keyword' })
nvim_set_hl('@type.definition', { link = 'Type' })
nvim_set_hl('@type.qualifier', { link = 'Type' })
nvim_set_hl('@property.json', { fg = colors.green })
nvim_set_hl('@attribute', { link = 'Keyword' })
nvim_set_hl('@property', { fg = colors.green })
nvim_set_hl('@function', { link = 'Function' })
nvim_set_hl('@function.builtin', { fg = colors.yellow })
nvim_set_hl('@function.call', { link = 'Function' })