Coder Social home page Coder Social logo

`:digraphs` doesn't work well about noice.nvim HOT 9 CLOSED

folke avatar folke commented on July 3, 2024
`:digraphs` doesn't work well

from noice.nvim.

Comments (9)

Shougo avatar Shougo commented on July 3, 2024 1

Digraphs in a new buffer (as described in readme: "no more more-prompt")

I think it does not mean "it outputs the buffer automatically".
noice.nvim is not magic.

from noice.nvim.

folke avatar folke commented on July 3, 2024 1

Will think about changing some of the default routes to handle this by default, but the config above fixes it

from noice.nvim.

folke avatar folke commented on July 3, 2024 1

@p00f that's a Neovim issue. There's other commands right now that also display wrong like :map. I opened an issue about the map one already

from noice.nvim.

folke avatar folke commented on July 3, 2024

This is a current limitation of nvim-notify. See rcarriga/nvim-notify#137

from noice.nvim.

p00f avatar p00f commented on July 3, 2024

Shouldn't this use a split instead of nvim-notify? It's too big to fit in a float notification, even if it occupies the whole screen

from noice.nvim.

Shougo avatar Shougo commented on July 3, 2024

Hm... If the messages are too long, it should be outputted in buffer.
But it takes to time to implement it.

from noice.nvim.

folke avatar folke commented on July 3, 2024

You can add a route for this using the min_width filter (update noice, just added this new filter):

  local noice = require("noice")
  noice.setup({
    routes = {
      {
        view = "split",
        filter = { min_width = 500 },
      },
    },
  })

This will send messages wider than 500 characters to the split window

from noice.nvim.

p00f avatar p00f commented on July 3, 2024

Thanks!

from noice.nvim.

p00f avatar p00f commented on July 3, 2024

Doing this skips the space after the number though:
noice with split filter:

image

vanilla nvim:
image

(this means the alignment of the "table" is wrong too)

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