aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/textadept.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textadept.c b/src/textadept.c
index 304e99fe..c63fd195 100644
--- a/src/textadept.c
+++ b/src/textadept.c
@@ -1151,7 +1151,7 @@ static int l_callscintilla(lua_State *L, Scintilla *view, int msg, int wtype,
if (c == SCI_GETDIRECTFUNCTION || c == SCI_SETDOCPOINTER ||
c == SCI_CHANGELEXERSTATE)
ltype = SINT;
- else if (c == SCI_SETLEXERLANGUAGE)
+ else if (c == SCI_SETLEXERLANGUAGE || c == SCI_LOADLEXERLIBRARY)
ltype = SSTRING;
}