diff options
-rw-r--r-- | src/LexLisp.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/LexLisp.cxx b/src/LexLisp.cxx index 1072e13a3..8784e388a 100644 --- a/src/LexLisp.cxx +++ b/src/LexLisp.cxx @@ -100,6 +100,9 @@ static void ColouriseLispDoc(unsigned int startPos, int length, int initStyle, W styler.ColourTo(i - 1, state); radix = -1; state = SCE_LISP_MACRO_DISPATCH; + } else if (ch == ':' && isLispwordstart(chNext)) { + styler.ColourTo(i - 1, state); + state = SCE_LISP_SYMBOL; } else if (isLispwordstart(ch)) { styler.ColourTo(i - 1, state); state = SCE_LISP_IDENTIFIER; |