-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with folds #25
Comments
Thank you for the detailed bug report, I really appreciate the example. Unfortunately, I can't seem to reproduce the issue :/. My guess is that there's some setting that I have that's making the difference. Could you show me your .vimrc? I might be able to find the setting like that. Let me know what your Vim version is as well, just in case. |
Thank you for your fast reply! Thanks anyway! |
It's likely that it's a setting and not a plugin, because i can't think of any plugin that could affect this one. If you manage to narrow it down to whatever setting is causing this, do let me know. There might be something I could do on the plugin side to prevent people from being affected by it. |
Ok, I think I tracked it down, it was quite a tough one ;) It happens only if
The Nerd-Tree-Tabs plugin which tries to make a NerdTree buffer persistent over all tabs. It's probably a quite hacky abuse of the way vim handles buffers/tabs, so that's probably the reason it interferes here :( OK, at least I have a workaround now (just close Nerdtree). |
OK now again with automatic testcase with minimal vimrc, so it should be reproducible independently of the environment.
vimrc
test.txt
script.vim
You have reproduced the bug, if you get an error message saying that 'something' was not found. |
Okay, I've managed to reproduce it, and I think the key is the setting |
@AndrewRadev, see |
Thanks, @xaizek, it might be something to experiment with. I'm not sure it'll work, since I think it's autocommands that get triggered outside the plugin that do this. Still, it's something to try. |
Hi,
when working with this (btw. very great) plugin and very big files, I found the following bug:
Because my blocks to compare are very long, it's convenient to fold them first and then do the Linediff.
That causes Linediff to remove the end of the file (i.e. after the second block).
I'll do a step by step example:
V
on the closed fold!):Result (at least for me):
The text was updated successfully, but these errors were encountered: