Christian Chiarulli 2 лет назад
Родитель
Сommit
2ecdc8ecbf
2 измененных файлов с 47 добавлено и 6 удалено
  1. 19 6
      lua/lvim/core/lualine/styles.lua
  2. 28 0
      lua/lvim/core/theme.lua

+ 19 - 6
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" },

+ 28 - 0
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