(How to extend dosini syntax to add folding.) |
No edit summary |
||
Line 4: | Line 4: | ||
and voila! |
and voila! |
||
+ | |||
+ | |||
+ | [[Category:dosini folding syntax region after]] |
Revision as of 02:15, 19 August 2007
Create file "~/.vim/after/syntax/dosini.vim" containing this line:
syn region dosiniSection start="^\[" end="\(\n*\[\)\@=" fold
and voila!