aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/LexBash.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexBash.cxx b/src/LexBash.cxx
index dfbf309d6..e9c31d6b3 100644
--- a/src/LexBash.cxx
+++ b/src/LexBash.cxx
@@ -627,7 +627,7 @@ static void FoldBashDoc(unsigned int startPos, int length, int, WordList *[],
&& !IsCommentLine(lineCurrent+1, styler))
levelCurrent--;
}
- if (style == SCE_C_OPERATOR) {
+ if (style == SCE_SH_OPERATOR) {
if (ch == '{') {
levelCurrent++;
} else if (ch == '}') {