Coder Social home page Coder Social logo

Comments (13)

rebelot avatar rebelot commented on July 22, 2024

This happens to me with transparency enabled. If this does not solve it, you should override bufferline highlights (but shouldn't be required)

from kanagawa.nvim.

sseneca avatar sseneca commented on July 22, 2024

I tried changing transparent but the issue persisted

from kanagawa.nvim.

matze avatar matze commented on July 22, 2024

Same here. No matter if transparent is set to true or false or not set, I see the same behaviour.

Edit: also overriding bufferline colors directly does not get rid of the off-white color. This

  overrides = {
    CursorLine = { bg = colors.bg_light0 },
    BufferLineIndicatorSelected = { fg = colors.diag.warning, bg = colors.diag.error },
    BufferLineFill = { fg = colors.springGreen, bg = colors.springGreen },
  },

gives me this (the white strip in front of the warning is there no matter what):
bufferline

from kanagawa.nvim.

rebelot avatar rebelot commented on July 22, 2024

What you need is BufferLineSeparator{,Selected,Visible}. But I cannot reproduce. I had the same issue with older nvim version. Maybe updating should solve the issue?

from kanagawa.nvim.

matze avatar matze commented on July 22, 2024

The suggested keys did not work either. However it does indeed work with neovim master, I was running 0.7 before. Not sure, if this is ideal though.

from kanagawa.nvim.

rebelot avatar rebelot commented on July 22, 2024

Not sure, if this is ideal though.

It is most likely not, but I believe this issue should pertain to bufferline more than kanagawa.

What happens if you redefine Normal with vim syntax right after kanagawa setup?

local colors = require("kanagawa.colors").setup()
require'kanagawa'.setup({...})
vim.cmd('colorscheme kanagawa')
vim.cmd('hi Normal guifg='..colors.fg..' guibg='..colors.bg)

from kanagawa.nvim.

matze avatar matze commented on July 22, 2024

There is no change. What I noticed though is, that this happens with all colorschemes but with the others somewhat more subtle colors are chosen. So maybe you are right it's more related to bufferline itself but unfortunately it's most obvious with kanagawa.

from kanagawa.nvim.

jrafaaael avatar jrafaaael commented on July 22, 2024

Same here

from kanagawa.nvim.

rebelot avatar rebelot commented on July 22, 2024

Please checkout latest commit and see if it's still an issue.

from kanagawa.nvim.

matze avatar matze commented on July 22, 2024

Fixed it for me. Thanks!

from kanagawa.nvim.

sseneca avatar sseneca commented on July 22, 2024

Also appears to be fixed for me, thank you!

from kanagawa.nvim.

matze avatar matze commented on July 22, 2024

Urgh, the latest bufferline changes have re-introduced this issue 🙈

from kanagawa.nvim.

rebelot avatar rebelot commented on July 22, 2024

That's weird, but it seems to be working fine on nightly. Could you open an issue on bufferline? I seriously don't know how it expects hlgroups to be defined

from kanagawa.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.