diff options
Diffstat (limited to 'Master/texmf-dist/context/data/scite/lexers/scite-context-lexer-cld.lua')
-rw-r--r-- | Master/texmf-dist/context/data/scite/lexers/scite-context-lexer-cld.lua | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Master/texmf-dist/context/data/scite/lexers/scite-context-lexer-cld.lua b/Master/texmf-dist/context/data/scite/lexers/scite-context-lexer-cld.lua new file mode 100644 index 00000000000..4aa2901d232 --- /dev/null +++ b/Master/texmf-dist/context/data/scite/lexers/scite-context-lexer-cld.lua @@ -0,0 +1,23 @@ +local info = { + version = 1.002, + comment = "scintilla lpeg lexer for cld", + author = "Hans Hagen, PRAGMA-ADE, Hasselt NL", + copyright = "PRAGMA ADE / ConTeXt Development Team", + license = "see context related readme files", +} + +local lexer = lexer +local token = lexer.token + +local cldlexer = { _NAME = "cld", _FILENAME = "scite-context-lexer-cld" } +local whitespace = lexer.WHITESPACE -- maybe we need to fix this +local context = lexer.context + +local lualexer = lexer.load('scite-context-lexer-lua') + +cldlexer._rules = lualexer._rules_cld +cldlexer._tokenstyles = lualexer._tokenstyles +cldlexer._foldsymbols = lualexer._foldsymbols +cldlexer._directives = lualexer._directives + +return cldlexer |