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()
|
function()
|
||||||
local current_line = vim.fn.line "."
|
local current_line = vim.fn.line "."
|
||||||
local total_lines = vim.fn.line "$"
|
local total_lines = vim.fn.line "$"
|
||||||
local chars = { " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " " }
|
local chars = { "", "", "", "", "", "", "", "", "", "", "", "", "" }
|
||||||
local line_ratio = current_line / total_lines
|
local line_ratio = current_line / total_lines
|
||||||
local index = math.ceil(line_ratio * #chars)
|
local index = math.ceil(line_ratio * #chars)
|
||||||
return chars[index]
|
return " " .. chars[index]
|
||||||
end,
|
end,
|
||||||
color = { fg = colors.yellow },
|
color = { fg = colors.yellow },
|
||||||
cond = nil,
|
cond = nil,
|
||||||
}
|
}
|
||||||
lvim.builtin.lualine.options = {
|
lvim.builtin.lualine.options = {
|
||||||
component_separators = { left = '', right = '' },
|
-- component_separators = { left = '│', right = '│' },
|
||||||
section_separators = { left = '', right = '' },
|
section_separators = { left = '', right = '' },
|
||||||
}
|
}
|
||||||
lvim.builtin.lualine.sections = {
|
lvim.builtin.lualine.sections = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue