-
-
Save lmarburger/323937 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foldingStartMarker = '/\*(\*|\s+\w)(?!\*)|\{\s*($|/\*(?!.*?\*/.*\S))'; | |
foldingStopMarker = '(?<!\*)\*\*/|/\*\s+-+\s+\*/|^\s*\}'; | |
Update these expressions so they also recongize: | |
foldingStartMarker: | |
/* section: something variable | |
---------------------------------------------- */ | |
foldingStopMarker: | |
/* ------------------------------------------- */ | |
If it helps they number of dashes is always the same: | |
foldingStarMark = 47 | |
foldingStopMarker = 44 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment