fix(statusline): update separate and restyle
This commit is contained in:
parent
e1ae8a414f
commit
4dc2c9858b
1 changed files with 8 additions and 6 deletions
|
@ -69,16 +69,16 @@ function M.output()
|
|||
vim.api.nvim_set_hl(ns, name, settings)
|
||||
end
|
||||
|
||||
local separator = " ☰ "
|
||||
local separator = "▒▒"
|
||||
local mode = " %{%v:lua.format_mode(v:lua.vim.fn.mode())%} "
|
||||
local open_file = "%r%t %m"
|
||||
local open_file = " %r%t %m"
|
||||
local buf_nr = "[%n] "
|
||||
local right_align = "%="
|
||||
local file_format = "%{&ff}"
|
||||
local file_format = " %{&ff}"
|
||||
local file_type = "%y "
|
||||
local encoding = "%{''.(&fenc!=''?&fenc:&enc).''} "
|
||||
local line_no = "line: %03l/%03L "
|
||||
local percentage = "[%3p%%]"
|
||||
local line_no = " line: %03l/%03L "
|
||||
local percentage = "[%3p%%] "
|
||||
|
||||
return table.concat{
|
||||
setHighlight(statuslineMode),
|
||||
|
@ -87,6 +87,7 @@ function M.output()
|
|||
separator,
|
||||
open_file,
|
||||
buf_nr,
|
||||
separator,
|
||||
setHighlight(statuslineTransparent),
|
||||
right_align,
|
||||
setHighlight(statuslineBlueText),
|
||||
|
@ -97,7 +98,8 @@ function M.output()
|
|||
setHighlight(statuslineMagentaText),
|
||||
separator,
|
||||
line_no,
|
||||
percentage
|
||||
percentage,
|
||||
separator,
|
||||
}
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue