Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flickering issue with noice.nvim installed #515

Open
2 tasks done
mawkler opened this issue Jan 17, 2025 · 0 comments
Open
2 tasks done

Flickering issue with noice.nvim installed #515

mawkler opened this issue Jan 17, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@mawkler
Copy link

mawkler commented Jan 17, 2025

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 = {},
  },
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant