changes lualine modules

This commit is contained in:
Dennis 2025-10-23 16:59:41 +02:00
parent 0f4deed216
commit da7da99e82

View file

@ -1,7 +1,9 @@
return {
-- TODO: Fix colorscheme for lualine
"nvim-lualine/lualine.nvim",
opts = {
options = {
theme = "auto",
icons_enabled = false,
-- globalstatus = true
component_separators = { left = "|", right = "|" },
@ -22,12 +24,7 @@ return {
"filename",
file_status = true,
newfile_status = false,
path = 1, -- 0: Just the filename
-- 1: Relative path
-- 2: Absolute path
-- 3: Absolute path, with tilde as the home directory
-- 4: Filename and parent dir, with tilde as the home directory
path = 1,
shorting_target = 120,
symbols = {
modified = "[+]", -- Text to show when the file is modified.
@ -36,11 +33,13 @@ return {
newfile = "[New]", -- Text to show for newly created file before first write
},
},
"encoding",
"filetype",
},
lualine_c = {},
lualine_x = { "branch", "diff", "diagnostics" },
lualine_y = { "location" },
lualine_z = { "filetype" },
lualine_x = {},
lualine_y = { "branch", "diff", "diagnostics", "lsp_status" },
lualine_z = { "progress" },
},
},
}