folke / noice.nvim

💥 Highly experimental plugin that completely replaces the UI for messages, cmdline and the popupmenu.
Apache License 2.0
4.15k stars 95 forks source link

feature: add offset property to the mini view #401

Closed pwntester closed 1 year ago

pwntester commented 1 year ago

Did you check the docs?

Is your feature request related to a problem? Please describe.

The mini view is rendered on top of the status line

image

Describe the solution you'd like

Be able to provide an offset so that the mini view would be located one row above the status line

Describe alternatives you've considered

Not that I can think of

Additional context

No response

folke commented 1 year ago

image

You can change config.views.mini.position.row.

pwntester commented 1 year ago

Awesome, thanks!

carmen-gh commented 11 months ago

stumbled over the same issue after I disabled the cmdline option. set config.views.mini.positio.row to -2 fixed it

 opts = {
      cmdline = {
        enabled = false,
      },
      messages = {
        enabled = false,
      },
      views = {
        mini = {
          position = {
            row = -2,
          },
        },
      },