fix(lualine): workaround lualine font rendering

This commit is contained in:
Ryan 2024-01-17 12:46:29 +08:00
parent ba2ff0b63e
commit 2c98923861

View File

@ -2,7 +2,7 @@ require 'lualine'.setup {
options = {
icons_enabled = true,
theme = 'auto',
component_separators = { left = "", right = "|" },
component_separators = "",
section_separators = " ",
disabled_filetypes = {}
},
@ -15,7 +15,10 @@ require 'lualine'.setup {
{ 'filename', path = 1 },
'diff',
},
lualine_x = { 'encoding', 'fileformat', 'filetype' },
lualine_x = { 'encoding', 'fileformat', {
'filetype',
icon_only = true
} },
lualine_y = { 'progress' },
lualine_z = { 'location' }
},
@ -27,14 +30,5 @@ require 'lualine'.setup {
lualine_y = {},
lualine_z = {}
},
-- Tabline is broken, disable for now.
-- tabline = {
-- lualine_a = {'buffers'},
-- lualine_b = {},
-- lualine_c = {},
-- lualine_x = {},
-- lualine_y = {},
-- lualine_z = {'tabs'}
-- },
extensions = {}
}