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

Add fold markers to various syntax #32

Open
Altreus opened this issue Jun 18, 2021 · 0 comments
Open

Add fold markers to various syntax #32

Altreus opened this issue Jun 18, 2021 · 0 comments

Comments

@Altreus
Copy link

Altreus commented Jun 18, 2021

Not sure about opening an issue about folding since the issue template mentions it, but I can't see anything that actually implements any.

Vim help mentions this:

SYNTAX						*fold-syntax*

A fold is defined by syntax items that have the "fold" argument. |:syn-fold|

The fold level is defined by nesting folds.  The nesting of folds is limited
with 'foldnestmax'.

Presumably the implication is that one can add syntax items, or add flags to existing ones, to specify the start and end of folds.

I would like to fold POD6 and code blocks, but neither currently seems to be set up by default; in fact it looks like there are no folds in any of my raku source files.

Sadly I have zero experience with vim syntax files or I'd sort it out myself

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

No branches or pull requests

1 participant