Closed gauteh closed 6 years ago
Sorry for the slow reply, for some reason I didn't get an email notification. It seems like the incompatibility is with kopischke/vim-stay
. I looked briefly at the code for that plugin, but I haven't been able to really make sense of it yet.
Ok, I think maybe the problem is just that vim-coiled-snake
wasn't installed when vim-stay
first ran. Because vim-stay
persists your fold settings, so if vim-coiled-snake
wasn't installed when the settings were saved for a particular file, then vim-stay
will just override vim-coiled-snake
every time it tries to point your fold settings to itself.
For me, I got this folding-does-nothing behavior in the first file I edited after I installed vim-stay
and vim-coiled-snake
. But I haven't had any problems with any files other than that first one. That's kinda weird, I'm not totally sure what the deal with that is.
For me, the solution was to clear vim-stay
's cache. To figure out where the cache is located, run vim and enter :echo &viewdir
. This was ~/.local/share/nvim/view
for me. Then just go delete any files in that directory, e.g. rm ~/.local/share/nvim/view/*
.
Let me know if that solves your problem. I'm still not totally sure what's going on, so I'm not 100% confident that this will work for you.
Kale Kundert writes on August 6, 2018 20:24:
Sorry for the slow reply, for some reason I didn't get an email notification. It seems like the incompatibility is with
kopischke/vim-stay
. I looked briefly at the code for that plugin, but I haven't been able to really make sense of it yet.
Thanks, I'll try clearing the cache and get back to you.
Gaute Hope writes on August 6, 2018 21:52:
Kale Kundert writes on August 6, 2018 20:24:
Sorry for the slow reply, for some reason I didn't get an email notification. It seems like the incompatibility is with
kopischke/vim-stay
. I looked briefly at the code for that plugin, but I haven't been able to really make sense of it yet.Thanks, I'll try clearing the cache and get back to you.
That did the trick, thanks!
Awesome, glad I could help!
Since I'm here again, fixed this time by running :CleanViewDir
with vim-stay installed.
Hi,
I am trying this plugin with
FastFold
and a bunch of other plugins listed below. But I cannot seem to get it to work. Any tips? I just get no fold detected when trying to collapse a function for instance or collapse all.