Git Product home page Git Product logo

Comments (4)

pocco81 avatar pocco81 commented on July 17, 2024

But isn't it working? Sorry I wasn't able to reproduce it. Perhaps I did something wrong?

With this config:

catppuccino.setup({colorscheme = "neon_latte"})
catppuccino.load()

:hi TabLine:
image

With this config:

catppuccino.setup({colorscheme = "neon_latte"})
catppuccino.load()
local cmd = vim.cmd
cmd('hi TabLine ctermfg=white ctermbg=black')

:hi TabLine:
image


Perhaps you were expecting the words "black" and "white" to appear when running :hi TabLine? In case you didn't know, those numbers represent the cterm colors (see help cterm-colors):

image

from nvim.

knpwrs avatar knpwrs commented on July 17, 2024

Well, this is embarrassing. I shortcutted actually examining the output because my tabline no longer looks how I expect it to after I installed Catppuccino, but maybe it's unrelated?

:verbose highlight TabLineSel
TabLineSel     xxx cterm=bold ctermfg=9 ctermbg=0 guifg=#898E99 guibg=#3b4261
        Last set from anonymous :source

Notice that ctermfg is 9 (red) and ctermbg is 0 (black) for the selected tab, and yet my tabline looks like this:

image

Before installing Catpuccino my tabline was white text on black with red text indicating the current tab, and indeed when I revert my changes to switch to Catpuccino my tabline looks like this:

image

If this isn't actually an issue with Catppuccino I can close this issue. Do you know what might be going on here?

from nvim.

pocco81 avatar pocco81 commented on July 17, 2024

These 3 are the hi groups Catppuccino touches related to the TabLine.

This is not an issue. Of course the TabLine is going to look different from what you had before, how else are we gonna get a consistent theme where every UI element follows the same color palette?

I've personally never used tne built-in tab line (I recommend this one), but I did configure its colors for Catppuccino. Just find the hi groups it's using and change them to your like.

Before installing Catpuccino my tabline was white text on black with red text indicating the current tab

Just change the hi groups after loading catppuccino ;) I'm not sure the names of all the hi groups it takes the colors from. Keep in mind that it might be using, for instance, Normal to get the foreground...

from nvim.

knpwrs avatar knpwrs commented on July 17, 2024

Looks like it's the termguicolors that are taking effect here. I could have sworn I did set termguicolors? and it said notermguicolors but now it says termguicolors 😵 .

Changing my highlight groups as such took care of it:

vim.cmd('hi TabLineFill ctermfg=black ctermbg=black guifg=lightblack guibg=lightblack')
vim.cmd('hi TabLine ctermfg=white ctermbg=black guifg=white guibg=lightblack')
vim.cmd('hi TabLineSel ctermfg=red ctermbg=black guifg=red guibg=lightblack')

Thank you for Catpuccino! It's a great theme 😄 .

from nvim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.