Git Product home page Git Product logo

Comments (2)

akinsho avatar akinsho commented on June 11, 2024 1

Hi @gacallea

So it's an interesting idea and probably possible with new functionality, definitely not possible as is. Much like there are other modules for diagnostics etc. I guess one could be added for this. Personally I think this is way too niche for the complexity it would introduce but one thought I have if you are willing to go down that rabbit hole yourself is custom areas within each buffer tab. Similar to how the custom areas at the end work I guess a similar if no the same logic could be applied but to each individual buffer.

Whilst not particularly complicated this will be fairly involved and will really require having a good deep look into the code base. It isn't something I could just point you towards unfortunately as you'd need to get to grips with the buffer rendering logic as well as the areas logic.

Once something like that is available you could then hook into it to render your custom button. Totally up to you since as far as I'm concerned it'd be too much work for me personally to be worth the trouble as I'd never use that tbh

from bufferline.nvim.

gacallea avatar gacallea commented on June 11, 2024 1

Hi @akinsho,

thanks for the timely and detailed reply, I appreciate. As much as I would like to contribute, I'm no Lua coder and the chuck-nvim plugin has taken me two weeks off my main studying already. I did the plugin with absolute zero knowledge of nvim plugins and lua development. I could be happy with what I have achieved so far, and the buttons would be icing on the cake at this point in time.

That said, perhaps I could try to tackle this in the future, but it's not something I can afford right now.

Thank you for bufferline and all you do, I appreciate you :)

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