Browse Source

use styles.lua rather instead of editing options directly

Christian Chiarulli 3 năm trước cách đây
mục cha
commit
a0fd11ea08
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      lua/core/lualine/init.lua
  2. 1 1
      lua/core/lualine/styles.lua

+ 1 - 1
lua/core/lualine/init.lua

@@ -8,7 +8,7 @@ M.config = function()
       component_separators = nil,
       section_separators = nil,
       theme = nil,
-      disabled_filetypes = {'NvimTree', 'Outline'}
+      disabled_filetypes = nil
     },
     sections = {
       lualine_a = nil,

+ 1 - 1
lua/core/lualine/styles.lua

@@ -69,7 +69,7 @@ styles.lvim = {
     icons_enabled = true,
     component_separators = "",
     section_separators = "",
-    disabled_filetypes = { "dashboard" },
+    disabled_filetypes = { "dashboard", "NvimTree", "Outline" },
   },
   sections = {
     lualine_a = {