minor statusline change
This commit is contained in:
@@ -22,19 +22,20 @@ return {
|
||||
---@diagnostic disable-next-line: duplicate-set-field
|
||||
statusline.active = function()
|
||||
local mode, mode_hl = statusline.section_mode { trunc_width = 120 }
|
||||
local git = statusline.section_git()
|
||||
local git = statusline.section_git {}
|
||||
local diagnostics = statusline.section_diagnostics { trunc_width = 75 }
|
||||
local filename = statusline.section_filename { trunc_width = 140 }
|
||||
local fileinfo = statusline.section_fileinfo()
|
||||
-- local fileinfo = statusline.section_fileinfo()
|
||||
local location = statusline.section_location()
|
||||
|
||||
return statusline.combine_groups {
|
||||
{ hl = mode_hl, strings = { mode } },
|
||||
{ hl = "MiniStatuslineDevinfo", strings = { git, diagnostics } },
|
||||
{ hl = "MiniStatuslineDevinfo", strings = { diagnostics } },
|
||||
"%<",
|
||||
{ hl = "MiniStatuslineFilename", strings = { filename } },
|
||||
"%=",
|
||||
{ hl = "MiniStatuslineFileinfo", strings = { fileinfo } },
|
||||
-- { hl = "MiniStatuslineFileinfo", strings = { fileinfo } },
|
||||
{ hl = "MiniStatuslineDevinfo", strings = { git } },
|
||||
{ hl = mode_hl, strings = { location } },
|
||||
}
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user