Comments (5)
@lvim-tech I see what you mean. I'll look into it, thanks.
from glance.nvim.
Thank you, should be fixed now.
from glance.nvim.
Hi, @DNLHC. Maybe line 239 iv preview.lua
vim.cmd('norm! zz zv')
must be vim.cmd('norm! zz')
Then check if is folded and run command vim.cmd('norm! zv')
This prevents the cursor from being positioned on the second one character.
from glance.nvim.
From my understanding the problem occurred when nvim_win_set_cursor
failed to set cursor on column -1
Folds shouldn't be the problem, from your logs it shows the error happened before that point.
Could you confirm the problem is fixed?
from glance.nvim.
Error in preview.lua:234
- fixed.
But with zz zv
the cursor is positioned at second character
With zz
the cursor is positioned at first character
from glance.nvim.
Related Issues (20)
- Bug: When closing Glance, jumps to the end of the buffer HOT 7
- [Feature] Specify per-request hooks HOT 1
- FR: Support for Live Grep HOT 2
- Hard to distinguish the popup window HOT 8
- Just main editor to currently selected Glance position HOT 6
- Error: Column value outside range HOT 3
- "Glances" is obstructed by backgrounds highlights HOT 2
- File Icons HOT 3
- Conflict with nvim-ts-rainbow HOT 2
- How to integrate special server command to retrieve references? HOT 8
- Jump to definition if only one result? HOT 1
- Bug: attempt to call field 'inlay_hint' (a nil value) when going to references HOT 1
- Split to right/below HOT 4
- Stick to bottom ?
- Status of this project HOT 3
- Trouble integration HOT 1
- Feature Request - more special server commands HOT 2
- WinScroll autocmd cause list cursorline disappeaer
- Feature request: able to select and alt+q to push selections into quickfix HOT 2
- Is it can display sorted results?
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 glance.nvim.