I've set up custom syntax highlighting for INI file (plus my own personal extensions to the ini file format) and was wondering if there's a way anyone can think of to do code folding on sections. Sections don't have an end-tag, they just end at the start of the next section. For example
[section1]
key1=foo
key2=bar
[section2]
key_a=wom
key_b=bat
I'd like to be able to fold the keys within section1, section2, etc.
Can anyone think of a way to do it without having to put a custom comment end-tag at the end of each section? (which wouldn't stay at the end as new keys are added to sections, be cumbersome to add across many many ini files, etc.)
Thanks!
Selmo
[section1]
key1=foo
key2=bar
[section2]
key_a=wom
key_b=bat
I'd like to be able to fold the keys within section1, section2, etc.
Can anyone think of a way to do it without having to put a custom comment end-tag at the end of each section? (which wouldn't stay at the end as new keys are added to sections, be cumbersome to add across many many ini files, etc.)
Thanks!
Selmo