-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't set foldmethod=syntax in historical buffers
This was originally implemented in part to address the marker fold method triggering on diffs, so try to still solve that.
- Loading branch information
Showing
1 changed file
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
156dbcd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Folding in historical buffer is pretty useful for my use cases. So I am wondering if this change is permanent or not? If so, I'd like to add
foldmethod=syntax
on my own for git filetype.156dbcd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's most likely permanent. Syntax folding is just plain too slow to force as a default on everyone. So yeah, go ahead and set it in
after/ftplugin/git.vim
if you want to keep using it.