Skip to content

Update docs to explain customization of foldtext#3056

Closed
rhelder wants to merge 2 commits intolervag:masterfrom
rhelder:folddoc
Closed

Update docs to explain customization of foldtext#3056
rhelder wants to merge 2 commits intolervag:masterfrom
rhelder:folddoc

Conversation

@rhelder
Copy link
Copy Markdown
Contributor

@rhelder rhelder commented Dec 13, 2024

As promised in #3052, here is a draft explaining how to customize the text displayed when folds are closed. For readers who are less familiar with dictionary functions, I included both the more verbose and the more concise variants we discussed (with appropriate references to Vim's documentation). I expect there are changes you'll want to make, but I hope this is a good starting point!

Copy link
Copy Markdown
Owner

@lervag lervag left a comment

Choose a reason for hiding this comment

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

I think this is more or less perfect. Thanks! I suggested a minor update to add an example for Lua based configs.

lervag added a commit that referenced this pull request Dec 14, 2024
@lervag
Copy link
Copy Markdown
Owner

lervag commented Dec 14, 2024

Thanks!

@lervag lervag closed this Dec 14, 2024
@rhelder
Copy link
Copy Markdown
Contributor Author

rhelder commented Dec 14, 2024

My pleasure! Thanks as always for your work.

@rhelder rhelder deleted the folddoc branch January 23, 2025 20:40
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