sidebar.nvim icon indicating copy to clipboard operation
sidebar.nvim copied to clipboard

Slow performance in Sidebar buffer only

Open Normanras opened this issue 2 years ago • 0 comments

Describe the bug When the sidebar is opening, navigating up and down the sidebar and opening/closing the folds of each section is extremely slow. It sometimes takes multiple seconds before a fold opens or closes. I haven't seen this sort of lag with any other plugins either.

For the record, this only happens in the sidebar buffer. It doesn't happen in any other buffers or panes, whether sidebar is toggled or not.

To Reproduce Open Sidebar and Navigate through the sections.

Expected behavior Same speed of movement and toggling as in other buffers/panes.

Environment (please complete the following information):

  • NVIM v0.10.0-dev-4512+g106922898-Homebrew
  • Lazy with the following:
 {
   'sidebar-nvim/sidebar.nvim',
   config = function()
     require("sidebar-nvim").setup({
      side = "right",
      sections = {
   "git",
   "symbols",
   "diagnostics",
   "files",
   "todos",
     },
 todos = {
   initially_closed = false, -- whether the groups should be initially closed on start. You can manually open/close groups later.
 },
 diagnostics = {
   icon = "",
 },
  })
  end
},

Normanras avatar Jul 10 '23 18:07 Normanras