summaryrefslogtreecommitdiff
path: root/context/data/scite/lexers/scite-context-lexer-mps.lua
diff options
context:
space:
mode:
Diffstat (limited to 'context/data/scite/lexers/scite-context-lexer-mps.lua')
-rw-r--r--context/data/scite/lexers/scite-context-lexer-mps.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/context/data/scite/lexers/scite-context-lexer-mps.lua b/context/data/scite/lexers/scite-context-lexer-mps.lua
index e6987f6c6..1a2a2571d 100644
--- a/context/data/scite/lexers/scite-context-lexer-mps.lua
+++ b/context/data/scite/lexers/scite-context-lexer-mps.lua
@@ -94,7 +94,7 @@ local identifier = token('default', cstoken^1)
local number = token('number', number)
local grouping = token('grouping', S("()[]{}")) -- can be an option
local special = token('special', S("#()[]{}<>=:\"")) -- or else := <> etc split
-local texlike = token('string', P("\\") * cstokentex^1)
+local texlike = token('warning', P("\\") * cstokentex^1)
local extra = token('extra', S("`~%^&_-+*/\'|\\"))
metafunlexer._rules = {
@@ -111,7 +111,7 @@ metafunlexer._rules = {
{ 'quoted', quoted },
-- { 'grouping', grouping }, -- can be an option
{ 'special', special },
- -- { 'texlike', texlike },
+ { 'texlike', texlike },
{ 'extra', extra },
{ 'rest', rest },
}