plugin/theme: remove tabline

... because it buggy and unusable
This commit is contained in:
Dmitriy Pleshevskiy 2022-09-17 21:36:06 +03:00
parent 75ecb87227
commit caacd4aeba
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215
3 changed files with 2 additions and 8 deletions

View file

@ -11,7 +11,7 @@ let
plugins = callPlugins [
./plugins/syntax
./plugins/explorer
(import ./plugins/theme { enableBarBar = true; })
(import ./plugins/theme { enableTabline = true; })
./plugins/lsp
./plugins/formatter
];

View file

@ -1,12 +1,10 @@
{ enableTabline ? false
, enableBarBar ? false
{ enableBarBar ? false
}:
{ lib
, catppuccin-nvim
, lualine-nvim
, lualine-lsp-progress
, tabline-nvim
, barbar-nvim
, ...
}:
@ -17,11 +15,9 @@ in
{
luaConfig = (builtins.readFile ./catppuccin-nvim.lua)
+ (builtins.readFile ./lualine.lua)
+ (lib.optional enableTabline (builtins.readFile ./tabline.lua))
+ (lib.optional enableBarBar (builtins.readFile ./barbar.lua));
plugins = [ catppuccin-nvim ]
++ lualinePlugins
++ (lib.optional enableTabline [ tabline-nvim ])
++ (lib.optional enableBarBar [ barbar-nvim ]);
}

View file

@ -1,2 +0,0 @@
-- See: https://github.com/kdheepak/tabline.nvim
require("tabline").setup({})