From 457ce9e6017c081e02a566895fa1fe488cd87b9c Mon Sep 17 00:00:00 2001 From: Michaël Ball Date: Thu, 18 Jul 2024 09:07:05 +0100 Subject: Refactor plugins for lazy.nvim --- neovim/.config/nvim/lua/config/tabby.lua | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 neovim/.config/nvim/lua/config/tabby.lua (limited to 'neovim/.config/nvim/lua/config/tabby.lua') diff --git a/neovim/.config/nvim/lua/config/tabby.lua b/neovim/.config/nvim/lua/config/tabby.lua deleted file mode 100644 index 1b64ac6..0000000 --- a/neovim/.config/nvim/lua/config/tabby.lua +++ /dev/null @@ -1,30 +0,0 @@ -local theme = { - fill = 'TabLineFill', - -- Also you can do this: fill = { fg='#f2e9de', bg='#907aa9', style='italic' } - head = 'TabLine', - current_tab = 'TabLineSel', - tab = 'TabLine', - win = 'TabLine', - tail = 'TabLine', -} -require('tabby.tabline').set(function(line) - return { - { - line.sep('', theme.head, theme.fill), - }, - line.tabs().foreach(function(tab) - local hl = tab.is_current() and theme.current_tab or theme.tab - return { - line.sep('', hl, theme.fill), - tab.is_current() and '' or '', - tab.number(), - tab.name(), - tab.close_btn(''), - line.sep('', hl, theme.fill), - hl = hl, - margin = ' ', - } - end), - hl = theme.fill, - } -end) -- cgit v1.2.3