Skip to content

Conversation

manasthakur
Copy link

In the existing scheme, if the snippet being expanded matches the foldmethod set by the user (e.g., expr), the snippet may get folded while the user is filling the placeholders.

This PR solves the issue by temporarily setting the foldmethod to manual during snippet-expansion, and then restoring it back to the value set by the user.

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.

1 participant