Comments (8)
I confirm that the q! is fixed. The resize still happens to me. Just to be sure, it also happens to you, right? Or is it something on my side?
If it helps, there seems to appear a white dot in the upper right corner of NNP when the resize happens.
Yes I managed to repro on a big screen but not on my laptop, I guess when I compute the remaining width, there is a .5 offset that sometimes gets rounded or floored, which I'll try to fix also but separately
from no-neck-pain.nvim.
Referencing your comment here @vinoff as I now properly understood the issue, I believe I can fix that before the next major.
from no-neck-pain.nvim.
@vinoff would you mind giving a shot to #364 and highlight if something still bothers you?
from no-neck-pain.nvim.
@shortcuts, yes! But there is something weird going on, try to reproduce on your end please:
- Open file and edit something.
- Do not save.
- do :q
- NNP gives an error that it is unable to quit (which is the right way!)!
- NNP changes size??
This last point is weird.. It seems like NNP width decreases.. A small amount, but still. Does this also happen on your end?
It only happens on the first :q though. If I keep doing :q :q :q :q, the size remains constant. But the first :q does change size. I wonder if there is some other plugin that is causing it.
from no-neck-pain.nvim.
There is a nasty bug @shortcuts:
- Open nvim (I mean nvim itself, not a file. Just do "nvim", without a file path)
- Edit the window (just add some random text, whatever).
- Do not save.
- Do :q!
- It doesn't close. It should close, since you are doing "!".
EDIT: :qa! works though. But :q! should work also.
from no-neck-pain.nvim.
There is a nasty bug @shortcuts:
- Open nvim (I mean nvim itself, not a file. Just do "nvim", without a file path)
- Edit the window (just add some random text, whatever).
- Do not save.
- Do :q!
- It doesn't close. It should close, since you are doing "!".
EDIT: :qa! works though. But :q! should work also.
Thanks for trying the fix!! this one should've been fixed, for the other resize issue, I'm not able to consistently reproduce it but it might not directly be related to this fix, as I leverage the same solution as for the init of the plugin, I'll continue to investigate
from no-neck-pain.nvim.
feat released here https://github.com/shortcuts/no-neck-pain.nvim/releases/tag/v1.14.0
from no-neck-pain.nvim.
There is a nasty bug @shortcuts:
- Open nvim (I mean nvim itself, not a file. Just do "nvim", without a file path)
- Edit the window (just add some random text, whatever).
- Do not save.
- Do :q!
- It doesn't close. It should close, since you are doing "!".
EDIT: :qa! works though. But :q! should work also.
Thanks for trying the fix!! this one should've been fixed, for the other resize issue, I'm not able to consistently reproduce it but it might not directly be related to this fix, as I leverage the same solution as for the init of the plugin, I'll continue to investigate
I confirm that the q! is fixed. The resize still happens to me. Just to be sure, it also happens to you, right? Or is it something on my side?
If it helps, there seems to appear a white dot in the upper right corner of NNP when the resize happens.
from no-neck-pain.nvim.
Related Issues (20)
- Inconsistent resize behavior with window splits HOT 2
- Show opened tabs/buffers in NNP. HOT 2
- heyo, not an issue, what's the thing besides the `fish` and `tmux` thing? that ram thing like htop? HOT 2
- [feature] Option to keep the cursor out of the panel/s HOT 8
- Issue when used with alpha-nvim HOT 5
- The neo-tree integration seems to be broken on small window width HOT 3
- feat: top and bottom windows HOT 2
- Lualine not expanding across whole window, showing "dummy" buffers HOT 3
- Prevent :q from closing NNP? HOT 7
- Doesn't work with persisted.nvim HOT 3
- When using incline.nvim, an error always occurs when I close Neovim HOT 3
- Unable to move the cursor to the main buffer when `skipEnteringNoNeckPainBuffer = true` HOT 2
- Neotree `close_if_last_window` does not work HOT 8
- Areal intergration
- next: feature requests HOT 6
- NNP is not enabled when running :checkhealth HOT 7
- neovim exits when current buffer is killed HOT 2
- Is it possible to make NNP **unfocusable**? HOT 2
- no-neck-pain exits neovim when closing a tab page with no-neck-pane enabled HOT 1
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 no-neck-pain.nvim.