Преглед изворни кода

ability to toggle bufferline

christianchiarulli пре 3 година
родитељ
комит
20a4da5583
2 измењених фајлова са 2 додато и 0 уклоњено
  1. 1 0
      lua/core/bufferline.lua
  2. 1 0
      lua/plugins.lua

+ 1 - 0
lua/core/bufferline.lua

@@ -1,4 +1,5 @@
 lvim.builtin.bufferline = {
+  active = true,
   keymap = {
     normal_mode = {
       ["<S-l>"] = ":BufferNext<CR>",

+ 1 - 0
lua/plugins.lua

@@ -182,6 +182,7 @@ return {
       end
     end,
     event = "BufWinEnter",
+    disable = not lvim.builtin.bufferline.active,
   },
 
   -- Debugging