Skip to content

Conversation

rohieb
Copy link
Contributor

@rohieb rohieb commented Oct 3, 2017

Adresses issue #31


let b:undo_ftplugin = "setlocal ".
\ "foldmethod< foldtext< ".
\ "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 <[email protected]>
@rohieb rohieb force-pushed the dont-fold-by-default branch from 5f2f41e to a7fdd47 Compare October 19, 2017 00:49
@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.

2 participants