summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/mkiv/util-sci.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/base/mkiv/util-sci.lua')
-rw-r--r--Master/texmf-dist/tex/context/base/mkiv/util-sci.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/context/base/mkiv/util-sci.lua b/Master/texmf-dist/tex/context/base/mkiv/util-sci.lua
index e028d2f95b8..fe28635a386 100644
--- a/Master/texmf-dist/tex/context/base/mkiv/util-sci.lua
+++ b/Master/texmf-dist/tex/context/base/mkiv/util-sci.lua
@@ -50,6 +50,9 @@ local function loadscitelexer()
if not lexer then
lexer = require("scite-context-lexer")
require("scite-context-theme") -- uses lexer
+ if lexer then
+ lexer.context.disablewordcheck()
+ end
end
return lexer
end
@@ -122,7 +125,7 @@ end
local function exportwhites()
return setmetatableindex(function(t,k)
- local v = find(k,"white") and true or false
+ local v = find(k,"white",1,true) and true or false
t[k] = v
return v
end)