Comments (7)
This is now fixed (PR #8). Thanks for reporting this @mroavi and @timtyrrell! Please let me know if you encounter any issues after updating.
from nvim-scrollview.
I noticed this with my fzf pop-up, also. It goes away when disabling this plugin
from nvim-scrollview.
Thanks for reporting this @mroavi!
Is just the scrollbar flickering, or are other elements on the screen flickering? Does the flickering occur just when scrolling or for other movements as well (e.g., changing windows)?
Are you using a version of nvim-scrollview
newer than 0ed558e, which addressed a flickering issue when scrolling.
I tried to reproduce the issue by running just nvim-scrollview
and goyo
, but I was unable to encounter the issue. Did you have any other plugins loaded at the time?
from nvim-scrollview.
The nvim-scrollview
version I currently have is: e294972
And this is my nvim
version:
NVIM v0.5.0-ef3230f
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/cc -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/home/runner/work/neovim/neovim/build/config -I/home/runner/work/neovim/neovim/src -I/home/runner/work/neovim/neovim/.deps/usr/include -I/usr/include -I/home/runner/work/neovim/neovim/build/src/nvim/auto -I/home/runner/work/neovim/neovim/build/include
Compiled by runner@fv-az36-166
I did not have any other plugin loaded. I started nvim like this: nvim -u minimal.vim
where minimal.vim
contains the code posted above.
I am running Manjaro:
❯ lsb_release -a
LSB Version: n/a
Distributor ID: ManjaroLinux
Description: Manjaro Linux
Release: 20.2
Codename: Nibia
Here is an example of the flickering I'm seeing:
I do not see that issue if nvim-scrollview
is not loaded.
Awesome plugin by the way! I'm keeping with or without this issue.
Edit: I also see artifacts even when creating a new window, e.g. with :vnew
or :new
.
from nvim-scrollview.
I am able to reproduce the flickering.
I guess this might interact similarly with other plugins besides the two you've mentioned.
You might be interested in the following band-aid that can prevent the flickering.
nnoremap <Leader>go :ScrollViewDisable<CR>:Goyo<CR>:ScrollViewEnable<CR>
I'll try to work on a more robust solution for nvim-scrollview
, to avoid this type of behavior.
from nvim-scrollview.
The call to redraw
was causing the issue. Coincidentally, that call was added to prevent scrollbar flickering. I was able to work around both issues (window flickering and scrollbar flickering) by removing redraw
and ensuring that existing scrollbars are removed after the new scrollbars are added.
from nvim-scrollview.
@dstein64 seems to be fixed now, thanks!
from nvim-scrollview.
Related Issues (20)
- Wrong sign background color for floating windows that use nvim_win_set_hl_ns
- Part of scrollbar wrong color when dragging from hidden HOT 1
- [question] disabling keybinds HOT 19
- Error related to Mappings. HOT 3
- Refresh mappings conflict with buffer-local mappings HOT 2
- Bug: E5108: Error executing lua [string ":lua"]:1: attempt to call field 'set_state' (a nil value) HOT 3
- Bug: Scrollview signs+null-ls causes nvim crash on ":set nu" or ":%s" replace HOT 1
- Issues with Winblend and Transparent Terminal Background HOT 6
- Feature Request: set some sign inside the scrollbars HOT 9
- `winblend` is not respected on hovering signs HOT 2
- Changing `list/nolist` or `listchars` crashes nvim with `trail` sign enabled at startup config HOT 3
- Add support for gitsigns HOT 4
- Pointer position is not adjusted when `winbar` is set HOT 1
- Signs won't go away HOT 4
- Search sign colors HOT 3
- opening a large file with a lot of error slows down nvim HOT 4
- [Question] How to add a horizontal scrollbar ? HOT 2
- nvim-scrollview not seeing diagnostics from coc.nvim HOT 2
- Compatibility with 0.10 extmark sign HOT 2
- Cursor positions changes undeterminably while scrolling past it HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvim-scrollview.