-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Currently, if you put the word "if" in a comment with the Shell Script grammar active, TextMate will erroneously put a code folding start mark at that comment. This has an easy fix which I think is correct and doesn't seem to have any nasty side-effects.
Current Settings -> Folding:
{ foldingStartMarker = '\b(if|case)\b|(\{|\b(do)\b)$';
foldingStopMarker = '^\s*(\}|(done|fi|esac)\b)';
}
Proposed Settings-> Folding:
{ foldingStartMarker = '^\s*\b(if|case)\b|(\{|\b(do)\b)$';
foldingStopMarker = '^\s*(\}|(done|fi|esac)\b)';
}
Metadata
Metadata
Assignees
Labels
No labels