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({})