diff options
-rw-r--r-- | src/LexLua.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexLua.cxx b/src/LexLua.cxx index 3781eed83..3e4b25cb5 100644 --- a/src/LexLua.cxx +++ b/src/LexLua.cxx @@ -138,7 +138,7 @@ static void ColouriseLuaDoc( sc.SetState(SCE_LUA_DEFAULT); } } else if (sc.state == SCE_LUA_IDENTIFIER) { - if (!IsAWordChar(sc.ch)) { + if (!IsAWordChar(sc.ch) || sc.Match('.', '.')) { char s[100]; sc.GetCurrent(s, sizeof(s)); if (keywords.InList(s)) { |