It seems that the scrollbar does not update when closing some windows associated with plugins using the commands provided for this purpose (e.g. NvimTreeClose for nvim-tree on which I first encountered this error). I finally came up with this solution which is really not pretty but has the advantage of working.
It seems that the scrollbar does not update when closing some windows associated with plugins using the commands provided for this purpose (e.g. NvimTreeClose for nvim-tree on which I first encountered this error). I finally came up with this solution which is really not pretty but has the advantage of working.