change powerline
This commit is contained in:
parent
822cbb3726
commit
d151343b20
1 changed files with 3 additions and 3 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Reference in a new issue