fix: barbecue theme

This commit is contained in:
Max Miliano 2024-08-25 17:13:23 -03:00
parent 992d34e07f
commit fb1997be52
3 changed files with 22 additions and 18 deletions

View file

@ -11,14 +11,14 @@ if vim.o.background == 'dark' then
basename = { fg = c.base0, bold = true },
context = { fg = c.base0 },
context_file = { fg = c.base0 },
context_module = { link = '@namespace' },
context_namespace = { link = '@namespace' },
context_module = { link = 'Type' },
context_namespace = { link = 'Type' },
context_package = { link = 'Directory' },
context_class = { link = 'Type' },
context_method = { link = 'Function' },
context_property = { link = '@field' },
context_field = { link = '@field' },
context_constructor = { link = '@constructor' },
context_property = { link = 'Identifier' },
context_field = { link = 'Identifier' },
context_constructor = { link = 'Type' },
context_enum = { link = 'Type' },
context_interface = { link = 'Type' },
context_function = { link = 'Function' },
@ -28,7 +28,7 @@ if vim.o.background == 'dark' then
context_number = { link = 'Number' },
context_boolean = { link = 'Boolean' },
context_array = { link = 'Delimiter' },
context_object = { link = '@field' },
context_object = { link = 'Identifier' },
context_key = { link = 'Delimiter' },
context_null = { link = 'Constant' },
context_enum_member = { link = 'Constant' },
@ -46,17 +46,17 @@ else
separator = { link = 'Keyword' },
modified = { fg = c.diag_warning },
dirname = { link = 'Directory' },
basename = { fg = c.base0, bold = true },
context = { fg = c.base0 },
basename = { fg = c.base00, bold = true },
context = { fg = c.base00 },
context_file = { fg = c.base00 },
context_module = { link = '@namespace' },
context_namespace = { link = '@namespace' },
context_module = { link = 'Type' },
context_namespace = { link = 'Type' },
context_package = { link = 'Directory' },
context_class = { link = 'Type' },
context_method = { link = 'Function' },
context_property = { link = '@field' },
context_field = { link = '@field' },
context_constructor = { link = '@constructor' },
context_property = { link = 'Identifier' },
context_field = { link = 'Identifier' },
context_constructor = { link = 'Type' },
context_enum = { link = 'Type' },
context_interface = { link = 'Type' },
context_function = { link = 'Function' },
@ -66,7 +66,7 @@ else
context_number = { link = 'Number' },
context_boolean = { link = 'Boolean' },
context_array = { link = 'Delimiter' },
context_object = { link = '@field' },
context_object = { link = 'Identifier' },
context_key = { link = 'Delimiter' },
context_null = { link = 'Constant' },
context_enum_member = { link = 'Constant' },

View file

@ -503,7 +503,7 @@ M.set_highlight = function(colors, config)
nvim_set_hl('@constant', { link = 'Constant' })
nvim_set_hl('@constant.builtin', { link = 'Constant' })
nvim_set_hl('@constant.macro', { link = 'Constant' })
nvim_set_hl('@module', { link = 'Identifier' })
nvim_set_hl('@module', { link = 'Type' })
nvim_set_hl('@module.builtin', { link = 'Constant' })
nvim_set_hl('@label', { link = 'Statement' })
nvim_set_hl('@string', { link = 'String' })

View file

@ -132,7 +132,9 @@ 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' }) -- SYNTAX :h group-name
nvim_set_hl('WinBarNC', { link = 'WinBar' })
-- SYNTAX :h group-name
nvim_set_hl('Comment', { fg = colors.base1 })
nvim_set_hl('Constant', { fg = colors.magenta })
nvim_set_hl('String', { fg = colors.cyan })
@ -170,7 +172,9 @@ 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 }) -- PLUGINS
nvim_set_hl('Removed', { fg = colors.git_delete })
-- PLUGINS
if config.plugins.treesitter then
nvim_set_hl('@variable', { link = 'Identifier' })
nvim_set_hl('@variable.builtin', { link = 'Constant' })
@ -179,7 +183,7 @@ M.set_highlight = function(colors, config)
nvim_set_hl('@constant', { link = 'Constant' })
nvim_set_hl('@constant.builtin', { link = 'Constant' })
nvim_set_hl('@constant.macro', { link = 'Constant' })
nvim_set_hl('@module', { link = 'Identifier' })
nvim_set_hl('@module', { link = 'Type' })
nvim_set_hl('@module.builtin', { link = 'Constant' })
nvim_set_hl('@label', { link = 'Statement' })
nvim_set_hl('@string', { link = 'String' })