summaryrefslogtreecommitdiff
path: root/lua/tabby.lua
blob: c2a1475a84cee447688a0818081bdf8288e25b4b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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 = 'TabLineTail',
  close_sel = 'TabLineCloseSel',
  close = 'TabLineClose',
}
require('tabby.tabline').use_preset('active_wins_at_tail', {
  theme = {
    fill = 'TabLineFill',       -- tabline background
    head = 'TabLine',           -- head element highlight
    current_tab = 'TabLineSel', -- current tab label highlight
    tab = 'TabLine',            -- other tab label highlight
    win = 'TabLine',            -- window highlight
    tail = 'TabLine',           -- tail element highlight
  },
  nerdfont = true,              -- whether use nerdfont
  lualine_theme = nil,          -- lualine theme name
  -- tab_name = {
  --   name_fallback = function(tabid)
  --     return tabid
  --   end,
  -- },
  buf_name = {
    mode = 'tail',
  },

})