Comments (10)
The issue is a Neovim one, as reported here. A lot of people posting workarounds in that issue.
For future reference, the bug report template exists for many reasons:
- To ensure that the issue is infact an issue; a lot of the time it's a configuration issue for people
- To make sure I have a baseline to work from when trying to fix the issue
- To be protective of my time
Neovim is normally really good at spitting out error messages and the one you posted suggests it's a big scary internal bug so in the future always worth googling the error message or heading over to the Neovim GitHub repo in case someone else has encountered it and solved it.
from persisted.nvim.
@olimorris I had no intention to waste your time. The reason for why I submitted the issue here were the following:
- My problems started after I started using this plugin in particular.
- As @tmpm697 mentioned, disabling this plugin results in the issue going away.
- The minimal config turned out to be sufficient to surface the problem for me.
- I managed to find a commit (through bisecting) that shows a point where this issue does not appear.
The Neovim issue that you link to seems to indeed be the actual issue, so I'll follow the development of that. No problem at all with this getting closed.
Thanks for your work!
from persisted.nvim.
As per this comment, I've place this snippet alongside my persisted.nvim config until aforementioned Neovim issue is resolved:
vim.api.nvim_create_autocmd({ "VimLeave" }, {
callback = function()
vim.cmd("!notify-send ''")
vim.cmd("sleep 10m")
end,
})
That seems to do the job.
P.s. I've test driven multiple session plugins and this one hits the sweet spot for me in terms of features and flexibility vs ease-of-setup. Nice work Oli!
from persisted.nvim.
I got the same issue. nvim: src/unix/core.c:147: uv_close: Assertion
!uv__is_closing(handle' failed.` constantly block the UI, I was thougt this is smth due to nvim config somewhere.
from persisted.nvim.
What version of Neovim are you using?
from persisted.nvim.
...and how is this related to this plugin? The error message suggests a general issue with Neovim
from persisted.nvim.
no idea but this issue only happens if i enable this plugin.
with both versions:
NVIM v0.10.0-dev-766+gef44e5972
neovim 0.9.1-3
more able to produce when you switch session with telescope.
@olimorris can u re-open this?
from persisted.nvim.
Nothing has changed in this plugin in two weeks so seems odd that this issue is suddenly appearing. I suspect the issue stems from one of the other plugins installed in your config.
Happy to open this issue again if someone can provide a minimal.lua
file which showcases the issue. I can't resolve an issue if it can't be recreated.
from persisted.nvim.
it happens for long time, this issue happens when you close nvim, the line
nvim: src/unix/core.c:147: uv_close: Assertion `!uv__is_closing(handle' failed.
splash in screen before nvim exits that make it hard to capture it.
from persisted.nvim.
Hey @linduxed, my feedback was aimed at @tmpm697; this would be the third time they've submitted an issue without a proper minimal.lua
file.
Hope you enjoy the plugin.
from persisted.nvim.
Related Issues (20)
- Named sessions? HOT 1
- Howto ignore dirs "~" but not "~/*"? HOT 2
- Error when loading session HOT 3
- [Bug] flash of previous buffer session is autorestored HOT 2
- [Feature] Allow loading a session by name HOT 4
- Replace callbacks with user events HOT 30
- Startup time increased dramatically HOT 3
- [Bug] The cmdheight reset to 1 after SessionLoad HOT 12
- [Bug]: Unable to turn off autosaving HOT 6
- `string.gsub(session, save_dir, "")` will fail if special characters are not escaped HOT 3
- [Bug]: sessions dir is empty and nothing opened when :SessionLoad HOT 3
- `autosave` should not fires when opening single file in any directory HOT 3
- [Bug]: SessionSave / SessionLoad not working HOT 8
- [Bug]: Session overwrite when switch via telescope? HOT 15
- [Bug]: Handle interaction with lazy.nvim HOT 1
- [Bug]: howto pin a buffer through sessions switching? HOT 1
- [Bug]: Telescope extension doesn't work after neovim update HOT 4
- [Bug]: Autosave Not Triggered Without Existing Session File HOT 8
- [Bug]: Still running git commands when `use_git_branch=false` 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 persisted.nvim.