From caacd4aeba164aba992ab383ab2ba67dd3bed9da Mon Sep 17 00:00:00 2001 From: janabhumi Date: Sat, 17 Sep 2022 21:36:06 +0300 Subject: [PATCH] plugin/theme: remove tabline ... because it buggy and unusable --- default.nix | 2 +- plugins/theme/default.nix | 6 +----- plugins/theme/tabline.lua | 2 -- 3 files changed, 2 insertions(+), 8 deletions(-) delete mode 100644 plugins/theme/tabline.lua diff --git a/default.nix b/default.nix index 67254a4..6f6de76 100644 --- a/default.nix +++ b/default.nix @@ -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 ]; diff --git a/plugins/theme/default.nix b/plugins/theme/default.nix index fb9fc1a..32f2447 100644 --- a/plugins/theme/default.nix +++ b/plugins/theme/default.nix @@ -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 ]); } diff --git a/plugins/theme/tabline.lua b/plugins/theme/tabline.lua deleted file mode 100644 index 2317233..0000000 --- a/plugins/theme/tabline.lua +++ /dev/null @@ -1,2 +0,0 @@ --- See: https://github.com/kdheepak/tabline.nvim -require("tabline").setup({})