Skip to content

Flickering issue with noice.nvim installed #515

@mawkler

Description

@mawkler

Prerequisites

  • I am using the latest stable release of Neovim
  • I am using the latest version of the plugin

Neovim Version

NVIM v0.10.3

Operating system/version

EndeavourOS

Actual behavior

Some screen elements flicker when the response is received

Expected behavior

No flickering

Steps to reproduce

  1. echo 'GET https://httpbin.org/uuid' > test.http 
    nvim -u repro.lua test.http
  2. :Rest run

Other information

#506 would help solve this issue

Repro (lazy.nvim)

local lazypath = vim.fn.stdpath('data') .. '/lazy/lazy.nvim'
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({
    'git',
    'clone',
    '--filter=blob:none',
    'https://github.com/folke/lazy.nvim.git',
    '--branch=stable',
    lazypath,
  })
end
vim.opt.rtp:prepend(lazypath)

vim.keymap.set('n', '<c-q>', '<cmd>qa!<cr>')
vim.g.mapleader = ' '

vim.api.nvim_create_autocmd('FileType', {
  pattern = 'json',
  callback = function()
    vim.bo.formatexpr = ''
    vim.bo.formatprg = 'jq'
  end,
  group = vim.api.nvim_create_augroup('Group', {}),
})

require('lazy').setup({
  'rest-nvim/rest.nvim',
  {
    'nvim-treesitter/nvim-treesitter',
    build = ':TSUpdate',
    main = 'nvim-treesitter.configs',
    opts = {
      ensure_installed = { 'http' },
      sync_install = false,
      highlight = { enable = true },
      indent = { enable = true },
    },
  },
  {
    'folke/noice.nvim',
    dependencies = 'MunifTanjim/nui.nvim',
    opts = {},
  },
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions