1
0
Fork 0

change powerline

This commit is contained in:
Luca Bilke 2022-08-11 14:46:56 +02:00
parent 822cbb3726
commit d151343b20

View file

@ -92,16 +92,16 @@ components.scrollbar = {
function()
local current_line = vim.fn.line "."
local total_lines = vim.fn.line "$"
local chars = { " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " " }
local chars = { "", "", "", "", "", "", "", "", "", "", "", "", "" }
local line_ratio = current_line / total_lines
local index = math.ceil(line_ratio * #chars)
return chars[index]
return " " .. chars[index]
end,
color = { fg = colors.yellow },
cond = nil,
}
lvim.builtin.lualine.options = {
component_separators = { left = '', right = '' },
-- component_separators = { left = '│', right = '│' },
section_separators = { left = '', right = '' },
}
lvim.builtin.lualine.sections = {