summaryrefslogtreecommitdiff
path: root/context/data/textadept/context/lexers/scite-context-lexer-lua.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2017-11-14 14:35:42 +0100
committerContext Git Mirror Bot <phg42.2a@gmail.com>2017-11-14 14:35:42 +0100
commit6f55552ca1456f0a2d50d1d0fdc8dc813d9ace77 (patch)
tree4be2ae8eabfd71f42977c74055b2f15d4f253d7b /context/data/textadept/context/lexers/scite-context-lexer-lua.lua
parent3c5bdb02c68293a907c765f109641c3939c13f6c (diff)
downloadcontext-6f55552ca1456f0a2d50d1d0fdc8dc813d9ace77.tar.gz
2017-11-14 13:58:00
Diffstat (limited to 'context/data/textadept/context/lexers/scite-context-lexer-lua.lua')
-rw-r--r--context/data/textadept/context/lexers/scite-context-lexer-lua.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/context/data/textadept/context/lexers/scite-context-lexer-lua.lua b/context/data/textadept/context/lexers/scite-context-lexer-lua.lua
index a8aa8dbe3..ba14f5206 100644
--- a/context/data/textadept/context/lexers/scite-context-lexer-lua.lua
+++ b/context/data/textadept/context/lexers/scite-context-lexer-lua.lua
@@ -13,7 +13,6 @@ local P, R, S, C, Cmt, Cp = lpeg.P, lpeg.R, lpeg.S, lpeg.C, lpeg.Cmt, lpeg.Cp
local match, find = string.match, string.find
local setmetatable = setmetatable
--- local lexer = require("lexer")
local lexer = require("scite-context-lexer")
local context = lexer.context
local patterns = context.patterns
@@ -47,7 +46,7 @@ local functions = {
"pcall", "print", "rawequal", "rawget", "rawset", "require",
"setmetatable", "tonumber", "tostring", "type", "unpack", "xpcall", "select",
- "string", "table", "coroutine", "debug", "file", "io", "lpeg", "math", "os", "package", "bit32",
+ "string", "table", "coroutine", "debug", "file", "io", "lpeg", "math", "os", "package", "bit32", "utf8",
}
local constants = {