Add project, and auto-sessions, also add auto-sessions to the lualine

This commit is contained in:
Martin Larsson 2024-04-09 07:59:25 +02:00
parent fa5dab7882
commit ef90fd5cea
3 changed files with 45 additions and 8 deletions

View file

@ -7,17 +7,17 @@ return {
require("lualine").setup {
options = {
theme = "catppuccin",
section_separators = {"", ""},
component_separators = {"", ""},
section_separators = { "", "" },
component_separators = { "", "" },
icons_enabled = true,
},
sections = {
lualine_a = {"mode"},
lualine_b = {"branch"},
lualine_c = {},
lualine_x = {"encoding", "fileformat", "filetype"},
lualine_y = {"progress"},
lualine_z = {"location"}
lualine_a = { "mode" },
lualine_b = { "branch" },
lualine_c = { require("auto-session.lib").current_session_name },
lualine_x = { "encoding", "fileformat", "filetype" },
lualine_y = { "progress" },
lualine_z = { "location" }
},
inactive_sections = {
lualine_a = {},