Skip to content
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

don't set foldmethod=syntax by default #60

Merged
merged 1 commit into from Oct 24, 2017

Conversation

rohieb
Copy link
Contributor

@rohieb rohieb commented Oct 3, 2017

Adresses issue #31

@@ -14,7 +14,6 @@ let b:undo_ftplugin = "setlocal ".
\ "include< comments< commentstring< omnifunc< formatprg<"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also remove foldmethod< from b:undo_ftplugin?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TIL what b:undo_ftplugin does ^^ Thank you, updated.

Overwriting the user's modeline is probably a bad idea. Instead make a
hint in the documentation and let the users set it themselves.

Fixes ledger#31

Signed-off-by: Roland Hieber <rohieb@rohieb.name>
@kljohann kljohann merged commit 4476adf into ledger:master Oct 24, 2017
@kljohann
Copy link
Member

Thanks! :)

@rohieb rohieb deleted the dont-fold-by-default branch July 2, 2021 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants