fix: bufferline deprecated names (#102)

This commit is contained in:
Pedro Carreño 2022-10-24 13:26:41 -04:00 committed by GitHub
commit d04e8b2aa5

View file

@ -9,205 +9,215 @@ local p = require('rose-pine.palette')
return { return {
-- fill = { -- fill = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- }, -- },
-- background = { -- background = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- }, -- },
-- tab = { -- tab = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- }, -- },
-- tab_selected = { -- tab_selected = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- }, -- },
-- tab_close = { -- tab_close = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- }, -- },
-- close_button = { -- close_button = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- }, -- },
-- close_button_visible = { -- close_button_visible = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- }, -- },
-- close_button_selected = { -- close_button_selected = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- }, -- },
buffer_visible = { buffer_visible = {
guifg = p.subtle, fg = p.subtle,
guibg = p.base, bg = p.base,
}, },
buffer_selected = { buffer_selected = {
guifg = p.text, fg = p.text,
guibg = p.surface, bg = p.surface,
gui = 'bold,italic', bold = true,
italic = true,
}, },
-- diagnostic = { -- diagnostic = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- }, -- },
-- diagnostic_visible = { -- diagnostic_visible = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- }, -- },
-- diagnostic_selected = { -- diagnostic_selected = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- gui = 'bold,italic', -- bold = true,
-- italic = true,
-- }, -- },
-- info = { -- info = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guisp = '<color-value-here>', -- sp = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- }, -- },
-- info_visible = { -- info_visible = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- }, -- },
-- info_selected = { -- info_selected = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- gui = 'bold,italic', -- bold = true,
-- guisp = '<color-value-here>', -- italic = true,
-- sp = '<color-value-here>',
-- }, -- },
-- info_diagnostic = { -- info_diagnostic = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guisp = '<color-value-here>', -- sp = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- }, -- },
-- info_diagnostic_visible = { -- info_diagnostic_visible = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- }, -- },
-- info_diagnostic_selected = { -- info_diagnostic_selected = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- gui = 'bold,italic', -- bold = true,
-- guisp = '<color-value-here>', -- italic = true,
-- sp = '<color-value-here>',
-- }, -- },
-- warning = { -- warning = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guisp = '<color-value-here>', -- sp = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- }, -- },
-- warning_visible = { -- warning_visible = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- }, -- },
-- warning_selected = { -- warning_selected = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- gui = 'bold,italic', -- bold = true,
-- guisp = '<color-value-here>', -- italic = true,
-- sp = '<color-value-here>',
-- }, -- },
-- warning_diagnostic = { -- warning_diagnostic = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guisp = '<color-value-here>', -- sp = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- }, -- },
-- warning_diagnostic_visible = { -- warning_diagnostic_visible = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- }, -- },
-- warning_diagnostic_selected = { -- warning_diagnostic_selected = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- gui = 'bold,italic', -- bold = true,
-- guisp = warning_diagnostic_fg, -- italic = true,
-- sp = warning_diagnostic_fg,
-- }, -- },
-- error = { -- error = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- guisp = '<color-value-here>', -- sp = '<color-value-here>',
-- }, -- },
-- error_visible = { -- error_visible = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- }, -- },
-- error_selected = { -- error_selected = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- gui = 'bold,italic', -- bold = true,
-- guisp = '<color-value-here>', -- italic = true,
-- sp = '<color-value-here>',
-- }, -- },
-- error_diagnostic = { -- error_diagnostic = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- guisp = '<color-value-here>', -- sp = '<color-value-here>',
-- }, -- },
-- error_diagnostic_visible = { -- error_diagnostic_visible = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- }, -- },
-- error_diagnostic_selected = { -- error_diagnostic_selected = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- gui = 'bold,italic', -- bold = true,
-- guisp = '<color-value-here>', -- italic = true,
-- sp = '<color-value-here>',
-- }, -- },
-- modified = { -- modified = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- }, -- },
-- modified_visible = { -- modified_visible = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- }, -- },
-- modified_selected = { -- modified_selected = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- }, -- },
-- duplicate_selected = { -- duplicate_selected = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- gui = 'italic', -- italic = true,
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- }, -- },
-- duplicate_visible = { -- duplicate_visible = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- gui = 'italic', -- italic = true,
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- }, -- },
-- duplicate = { -- duplicate = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- gui = 'italic', -- italic = true,
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- }, -- },
-- separator_selected = { -- separator_selected = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- }, -- },
-- separator_visible = { -- separator_visible = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- }, -- },
-- separator = { -- separator = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- }, -- },
-- indicator_selected = { -- indicator_selected = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- }, -- },
-- pick_selected = { -- pick_selected = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- gui = 'bold,italic', -- italic = true,
-- }, -- },
-- pick_visible = { -- pick_visible = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- gui = 'bold,italic', -- bold = true,
-- italic = true,
-- }, -- },
-- pick = { -- pick = {
-- guifg = '<color-value-here>', -- fg = '<color-value-here>',
-- guibg = '<color-value-here>', -- bg = '<color-value-here>',
-- gui = 'bold,italic', -- bold = true,
-- italic = true,
-- }, -- },
} }