Giter Club home page Giter Club logo

Comments (5)

echasnovski avatar echasnovski commented on August 11, 2024 1

I think you are right here. These options are used in default purely because I tend to use them on and off regularly. I'll think about the most proper way to display them (custom "option" section or just documenting the way) and remove them from default statusline.

from mini.nvim.

echasnovski avatar echasnovski commented on August 11, 2024 1

Just removed those sections from default content in favor of using custom documented code snippets. Thank you for the suggestion.

from mini.nvim.

echasnovski avatar echasnovski commented on August 11, 2024

Hmmm. That seems like a valid point. I'll sleep on it and return to it tomorrow. Thanks.

from mini.nvim.

xigoi avatar xigoi commented on August 11, 2024

Great. Thinking about it, what if there was a way to modify the default config without having to copy the whole thing into your code? Would that be needlessly complex?

from mini.nvim.

echasnovski avatar echasnovski commented on August 11, 2024

Great. Thinking about it, what if there was a way to modify the default config without having to copy the whole thing into your code? Would that be needlessly complex?

Yeah, I thought about it and experimented a bit. It feels that enough flexibility (change sections, their highlighting, their truncation width) comes with at least the same amount of configuration code as the default function. Enabling only some of parts to be configured is indeed unnecessary complexity when with only around 20 lines of code user can own the full statusline content.

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