Glench / Vim-Jinja2-Syntax

An up-to-date jinja2 syntax file.
https://github.com/mitsuhiko/jinja2
BSD 3-Clause "New" or "Revised" License
343 stars 64 forks source link

folding #33

Open idrisr opened 3 years ago

idrisr commented 3 years ago

Is it possible to add folding? When working with large templates that have nested blocks, I would like to fold outer blocks so that I can see the overall structure.

Not sure if this is related or not - but is it possible to add tagbar support so that you can view the outline of the document more easily?

Glench commented 3 years ago

Unfortunately I'm not sure how folding works so I won't be able to add it. I'll leave the issue open so perhaps someday a nice contributor can add support for folding.