-
Notifications
You must be signed in to change notification settings - Fork 59
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
Disable folding (feature request) #8
Comments
All you need is: autocmd FileType fish setlocal nofoldenable Or just put Closing as wontfix unless you have any objections. |
Not at all, if there was a mailing list I would have asked there. Thanks for clearing this up. |
Oh I don't mind. May I ask why you want to disable folding completely? Just concerned about the cost of calculating the folds? It's probably negligible. |
The computation cost don't bother me at all. |
I just realized the defaults in Vim mean the folds will all start out closed. I thought the defaults were to leave all folds open, so you wouldn't notice they're there if you didn't use them. I can see how this would be annoying if you don't want to use folds. I'll see about making things more clear in the README or something. |
Personally I think the fact that folds fold text is nice because it can let you focus on other parts or give you an overview of the file, but this is all secondary. The killer feature of folds for me is that they delimit structures so you can navigate them ( But I really didn't mean for the default experience with vim-fish to be that every fold is closed. Not sure if I should just document how to disable folds (or how to configure them to start out opened) or instead make folding in vim-fish opt-in. I don't really like either option and would have preferred Vim's defaults to be different, but alas. |
Gah, it's worse: the folding options are only window-local so there's no straightforward way to set them per buffer or filetype. |
Scratch that; I had misunderstood the behavior of window-local options. |
You can now modify the folding behaviour. But it'd be nice if there was an option to disable it completely.
The text was updated successfully, but these errors were encountered: