aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexMatlab.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/LexMatlab.cxx')
-rw-r--r--src/LexMatlab.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/LexMatlab.cxx b/src/LexMatlab.cxx
index f75d15c7a..5f4dff3b8 100644
--- a/src/LexMatlab.cxx
+++ b/src/LexMatlab.cxx
@@ -2,7 +2,7 @@
/** @file LexMatlab.cxx
** Lexer for Matlab.
** Written by José Fonseca
- **/
+ **/
// Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org>
// The License.txt file describes the conditions under which this software may be distributed.
@@ -165,4 +165,9 @@ static void FoldMatlabDoc(unsigned int startPos, int length, int,
}
}
-LexerModule lmMatlab(SCLEX_MATLAB, ColouriseMatlabDoc, "matlab", FoldMatlabDoc);
+static const char * const matlabWordListDesc[] = {
+ "Keywords",
+ 0
+};
+
+LexerModule lmMatlab(SCLEX_MATLAB, ColouriseMatlabDoc, "matlab", FoldMatlabDoc, matlabWordListDesc);