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 { return {
-- TODO: Fix colorscheme for lualine
"nvim-lualine/lualine.nvim", "nvim-lualine/lualine.nvim",
opts = { opts = {
options = { options = {
theme = "auto",
icons_enabled = false, icons_enabled = false,
-- globalstatus = true -- globalstatus = true
component_separators = { left = "|", right = "|" }, component_separators = { left = "|", right = "|" },
@ -22,12 +24,7 @@ return {
"filename", "filename",
file_status = true, file_status = true,
newfile_status = false, newfile_status = false,
path = 1, -- 0: Just the filename path = 1,
-- 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
shorting_target = 120, shorting_target = 120,
symbols = { symbols = {
modified = "[+]", -- Text to show when the file is modified. 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 newfile = "[New]", -- Text to show for newly created file before first write
}, },
}, },
"encoding",
"filetype",
}, },
lualine_c = {}, lualine_c = {},
lualine_x = { "branch", "diff", "diagnostics" }, lualine_x = {},
lualine_y = { "location" }, lualine_y = { "branch", "diff", "diagnostics", "lsp_status" },
lualine_z = { "filetype" }, lualine_z = { "progress" },
}, },
}, },
} }