mirror of
https://github.com/maxmx03/solarized.nvim.git
synced 2026-09-10 07:26:26 -04:00
refactor: solarized light properties, solarized dark keyword and statement
This commit is contained in:
parent
fb1997be52
commit
afad4e8cf1
|
|
@ -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' })
|
||||
|
|
|
|||
|
|
@ -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' })
|
||||
|
|
|
|||
Loading…
Reference in a new issue