nanozuki / tabby.nvim

A declarative, highly configurable, and neovim style tabline plugin. Use your nvim tabs as a workspace multiplexer!
MIT License
570 stars 20 forks source link

Doesn't use colours from Dracula theme #38

Closed lougreenwood closed 1 year ago

lougreenwood commented 2 years ago

Somewhat surprisingly given how mature the Dracula theme is, it seems that tabby doesn't use colours from that theme, instead my tab bar has no selected tab highlights etc

Can confirm other themes work fine (e.g onedarkhalf).

Screenshot

nanozuki commented 2 years ago

The vim/neovim ecosystem story is that the plugin announces the highlight groups used, and the theme author assigns values to these highlight groups. But tabby's key feature is highly configurable, so I have no way to announce several highlight groups and wait for the themes author to find this plugin. I'm planning to develop the next version of tabby.nvim, I plan to make some preset styles from popular statusline/tabline plugins. It will provide a nice default config.

nanozuki commented 2 years ago

For now, you can use require('tabby.util').extract_nvim_hl(<highlight>) to extract a color from highlight.

nanozuki commented 1 year ago

The "decura" theme does not set background in highlight 'TabLineSel', preset in tabby will be a glitch. I think onedarkhalf is right. You can define your own color in tabby's tabline.