Changing colorscheme without restarting causes inconsistent highlighting
loqusion opened this issue · 4 comments
loqusion commented
To be clear, the colors appear just fine if I just change the colorscheme in my nvim config. Like so:
gruvbox-material
ayu
However, if I change the colorscheme while nvim is running, the tab highlights become inconsistent (similar to #81):
Screen.Recording.2023-04-12.at.10.59.22.PM.mov
NeoVim version
NVIM v0.8.3
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by brew@Ventura-arm64.local
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/opt/homebrew/Cellar/neovim/0.8.3/share/nvim"
Run :checkhealth for more info
Tabby config
require('tabby').setup()
Colorschemes
nanozuki commented
Can you tell me the repository address of the colorscheme you use and the configuration of the tabby?
loqusion commented
@nanozuki Sure, I've edited the issue to add the colorscheme links and tabby config.
nanozuki commented
Oh... I noticed that you are using the v1.x version config function. And the v1.x version have some legacy bugs. I remain it only for backward compatibility.
You can use the v2 config to fix it (I tested it):
require('tabby.tabline').use_preset('active_wins_at_tail')
nanozuki commented
If there is some other issue, you are welcome to discuss it here