diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/LexLisp.cxx | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/src/LexLisp.cxx b/src/LexLisp.cxx index 8784e388a..e1d06cbac 100644 --- a/src/LexLisp.cxx +++ b/src/LexLisp.cxx @@ -32,7 +32,7 @@ using namespace Scintilla;  static inline bool isLispoperator(char ch) {  	if (isascii(ch) && isalnum(ch))  		return false; -	if (ch == '\'' || ch == '`' || ch == '(' || ch == ')' ) +	if (ch == '\'' || ch == '`' || ch == '(' || ch == ')' || ch == '[' || ch == ']' || ch == '{' || ch == '}')  		return true;  	return false;  } @@ -246,9 +246,9 @@ static void FoldLispDoc(unsigned int startPos, int length, int /* initStyle */,  		styleNext = styler.StyleAt(i + 1);  		bool atEOL = (ch == '\r' && chNext != '\n') || (ch == '\n');  		if (style == SCE_LISP_OPERATOR) { -			if (ch == '(') { +			if (ch == '(' || ch == '[' || ch == '{') {  				levelCurrent++; -			} else if (ch == ')') { +			} else if (ch == ')' || ch == ']' || ch == '}') {  				levelCurrent--;  			}  		} | 
