Giter Site home page Giter Site logo

Comments (3)

savq avatar savq commented on July 17, 2024 1

Paq now has support vim.notify.

It also defaults to verbose=false. so trivial messages like (up-to-date) foo won't show up unless the user opts in.

from paq-nvim.

eric-hansen avatar eric-hansen commented on July 17, 2024

I think this would better be served with a pre-post hook of some sort for someone to wire it up themselves.

With this in place, at the same time it will spawn a new notification for each plugin, and if you end up installing or syncing (or what have you) like 20 plugins, you'll have a lot of clout on the window and loose information.

from paq-nvim.

savq avatar savq commented on July 17, 2024

I'm working on improving the output messages. I can use vim.notify since that's part of neovim since 0.5. That rework probably also includes defaulting the verbose option to false, meaning messages like Paq [n/n] (up-to-date) foo won't show up, hopefully reducing the "spamminess".

I think this would better be served with a pre-post hook of some sort for someone to wire it up themselves.

Yes, that's how vim.notify works. If a users wants to use the linked plugin they can do that, otherwise the default handler will just print a message, same as it has always worked.

I should note that the linked repo has a bunch of extra features that wouldn't be supported because they're not part of the vim.notify spec.

<rant>
that plugin assumes gui colors, dark backgrounds, and uses unicode private use area characters (nerdfonts probably) by default, which is just… not great, and makes me even more averse to supporting it.
</rant>

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