Comments (7)
Yes, I can reproduce. After some fiddling I think vim.opt.smoothscroll
is the culprit. This doesn't happen with Neovim stable, only with nightly where this option is enabled. Try setting vim.opt.smoothscroll = false
.
from lazyvim.
It turns out the problem was the scrolloff setting set to 999. Lowering it to 10 resolves the problem, although typically, I use it to keep the line centered. Could this option be conflicting with a plugin?
from lazyvim.
Not able to reproduce with default LazyVim installation. Please test with default LazyVim installation (not your personal configuration) and report if the behavior is present with vim.opt.scrolloff = 999
.
from lazyvim.
So i tested it and yes only vim.opt.scrolloff = 999
works, but the combination vim.opt.wrap = true
and vim.opt.scrolloff = 999
is the problem.
from lazyvim.
With these 2 settings, I still can't reproduce in default LazyVim installation. Did you try default LazyVim installation or your personal configuration? Test the following
1. `mkdir ~/.config/lazytest`
2. `git clone https://github.com/LazyVim/starter ~/.config/lazytest`
3. `NVIM_APPNAME=lazytest nvim` and wait for the installation to complete
4. Restart Neovim with the command provided in step 3
5. Set in `~/.config/lazytest/lua/config/options.lua` the 2 settings `vim.opt.scrolloff = 999` and `vim.opt.wrap = true`
6. Restart Neovim with command provided in step 3 and observe behavior
For cleanup
rm -rf ~/.config/lazytest
rm -rf ~/.local/share/lazytest
rm -rf ~/.local/state/lazytest
rm -rf ~/.cache/lazytest
from lazyvim.
Yes i did it like that for testing. Completely clean install only those two options.
As soon as i turn off one of those options it works.
Just tested it on my linux machine also the same problem. (NVIM v0.10.0-dev-2528093)
Below shows the linux machine with wrap off. Then as soon as i turn it on it buges out.
from lazyvim.
Yes it works with smoothscroll
off.
Thank you very much for your help!
from lazyvim.
Related Issues (20)
- bug: snippets broken in Svelte after latest update HOT 12
- bug: which-key hunks prefix does not work HOT 5
- bug: eslint is sometimes extremely slow HOT 1
- bug: Auto Jump Includes Declaration HOT 2
- bug: blade.php isn't loading blade language for treeister
- bug: Errors when editing vue files HOT 44
- bug: extra trouble-v3 has keys conflict with extra outline HOT 1
- feature: add support for tsserver plugins (like vue) HOT 3
- bug: Error message when opening file HOT 2
- bug: Bufferline and layout breaks when opening file HOT 1
- bug: format on save in markdown files changes raw links like https://link.to/sth into <https://link.to/sth> HOT 5
- feature: use markdownlint-cli2 instead of markdownlint HOT 1
- there is issue when i coding golang in editor it gives me error HOT 1
- bug: Hello, I want to modify the icon of diagnostics, but I configured the following icon options. Why does this not make the icon modification take effect successfully? HOT 6
- bug: Supertab recipe only moves once after selection HOT 1
- bug: remap ; to :. ; does not trigger popup command window HOT 2
- bug: freeze on neovim v0.10.0 on Fedora with extra go dap and other extras HOT 46
- bug: lazygit.lua assumes non-windows path separator HOT 2
- feature: Add keymap for opening Neotree at Buffer dir. HOT 2
- feature: use `vim.fs.root` introduced by `nvim-0.10` instead of `util/root.lua` ? HOT 2
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 lazyvim.