diff options
author | Christian Chiarulli <[email protected]> | 2022-09-21 21:12:15 -0400 |
---|---|---|
committer | Christian Chiarulli <[email protected]> | 2022-09-21 21:12:15 -0400 |
commit | 2ecdc8ecbff0f8b15eca46d7f51ba1eab873a8a8 (patch) | |
tree | 887acc7368af21c5abbd9143dbae6169af19aaae /lua/lvim | |
parent | 59043c6629fa742dab5550ef31cef7a944887544 (diff) |
fix: improve lualine inactive
Diffstat (limited to 'lua/lvim')
-rw-r--r-- | lua/lvim/core/lualine/styles.lua | 25 | ||||
-rw-r--r-- | lua/lvim/core/theme.lua | 28 |
2 files changed, 47 insertions, 6 deletions
diff --git a/lua/lvim/core/lualine/styles.lua b/lua/lvim/core/lualine/styles.lua index 7e576855..57bd7260 100644 --- a/lua/lvim/core/lualine/styles.lua +++ b/lua/lvim/core/lualine/styles.lua @@ -71,6 +71,7 @@ styles.lvim = { style = "lvim", options = { theme = "auto", + globalstatus = true, icons_enabled = lvim.use_icons, component_separators = { left = "", right = "" }, section_separators = { left = "", right = "" }, @@ -100,13 +101,25 @@ styles.lvim = { }, inactive_sections = { lualine_a = { - "filename", + components.mode, + }, + lualine_b = { + components.branch, + }, + lualine_c = { + components.diff, + components.python_env, + }, + lualine_x = { + components.diagnostics, + components.lsp, + components.spaces, + components.filetype, + }, + lualine_y = { components.location }, + lualine_z = { + components.progress, }, - lualine_b = {}, - lualine_c = {}, - lualine_x = {}, - lualine_y = {}, - lualine_z = {}, }, tabline = {}, extensions = { "nvim-tree" }, diff --git a/lua/lvim/core/theme.lua b/lua/lvim/core/theme.lua index 886045c9..b1fce081 100644 --- a/lua/lvim/core/theme.lua +++ b/lua/lvim/core/theme.lua @@ -8,6 +8,34 @@ M.config = function() hl.IndentBlanklineContextChar = { fg = c.dark5, } + local prompt = "#2d3149" + -- hl.TelescopeNormal = { + -- bg = c.bg_dark, + -- fg = c.fg_dark, + -- } + -- hl.TelescopeBorder = { + -- bg = c.bg_dark, + -- fg = c.bg_dark, + -- } + -- hl.TelescopePromptNormal = { + -- bg = prompt, + -- } + -- hl.TelescopePromptBorder = { + -- bg = prompt, + -- fg = prompt, + -- } + -- hl.TelescopePromptTitle = { + -- bg = prompt, + -- fg = prompt, + -- } + -- hl.TelescopePreviewTitle = { + -- bg = c.bg_dark, + -- fg = c.bg_dark, + -- } + -- hl.TelescopeResultsTitle = { + -- bg = c.bg_dark, + -- fg = c.bg_dark, + -- } end, style = "night", -- The theme comes in three styles, `storm`, a darker variant `night` and `day` transparent = lvim.transparent_window, -- Enable this to disable setting the background color |